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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -