multiQQPlot: multiQQPlot

Description Usage Arguments Details Value

Description

Plots quantile-quantile plots for multiple probability distributions on one set of axes.

Usage

1
2
multiQQPlot(x, main = "QQ plot of sample data against likely distributions",
  distr = c("nbinom", "pois", "norm", "lnorm"))

Arguments

x

Numeric vector of data values to be plotted to be plotted as a histogram.

main

Title for the plot. Default value is "QQ plot of sample data against likely distributions".

distr

Character vector of distributions for which to produce QQ plots. Note that this uses the standard R names for the distributions which differ from those used in emon. Should be one or more of "norm" (normal), "pois" (Poisson), "lnorm" (log normal) and "nbinom" (negative binomial). By default all four are plotted.

Details

QQ plots are used to visually assess how well a data sample fits a given probability distribution.

Value

Primarily used for plotting, but invisibly returns an object of class multiQQ, which can be stored for later plotting if required.


hutchisonjtw/JNCCTools documentation built on May 17, 2019, 9:14 p.m.