powered by
qqplot
qqline
Plot the quantile-quantile plot and quantile-quantile line using ggplot.
ggnorm(y, title = NULL, add.normal = TRUE)
a numeric vector or an object of the ts class containing a stationary time series.
ts
a string with the plot's title.
Add a normal density function for comparison.
None. Function produces a ggplot2 graph.
# NOT RUN { x = rnorm(100) ggnorm(x) # }
Run the code above in your browser using DataLab