| plot_qq | R Documentation | 
Q-Q Plot
plot_qq(x, fits)
| x | numeric vector of sample data | 
| fits | a list object produced from fit_univariate, fit_empirical, or fit_univariate_man | 
ggplot of quantile-quantile comparison of theoretical distribution
library(ggplot2)
set.seed(37)
x <- rgamma(10000, 5)
dists <- c('gamma', 'lnorm', 'weibull')
fits <- lapply(dists, fit_univariate, x = x)
plot_qq(x, fits) +
theme_bw()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.