rstudio - I'm trying to plot a histogram of log returns (% values) for about 240 monthly returns -
I am trying to plot the histogram (% value) of the log return for approximately 240 monthly returns. Can anyone help me in this? My return is contained in a vector, but I am unable to specify the bin category, etc.
"return" is your vector - you can change the bin by changing "brake" < P> Hist (returns, breaks = 100)
hist (returns, breaks = 200)
Comments
Post a Comment