I have got a great result from using Delt function from quantmod package in R.
However, the format of the result it not quite how I want. It is something like -0.046984753. I want the number something as -4.7%!
Using scales
library('scales')
result=-0.046984753
percent(result)
[1] "-4.7%"