plot_qq {fitur}R Documentation

Q-Q Plot

Description

Q-Q Plot

Usage

plot_qq(x, fits)

Arguments

x

numeric vector of sample data

fits

a list object produced from fit_univariate, fit_empirical, or fit_univariate_man

Value

ggplot of quantile-quantile comparison of theoretical distribution

Examples

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()

[Package fitur version 0.6.2 Index]