ggnorm | R Documentation |
qqplot
with normal qqline
Plot the quantile-quantile plot and quantile-quantile line using ggplot.
ggnorm(y, title = NULL, add.normal = TRUE)
y |
a numeric vector or an object of the |
title |
a string with the plot's title. |
add.normal |
Add a normal density function for comparison. |
None.
Asael Alonzo Matamoros
x = rnorm(100)
ggnorm(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.