qqplotGaussian: Gaussian distribution quantile-quantile plot

Description Usage Arguments Value See Also Examples

Description

This function creates a quantile-quantile plot to assess the goodness of fit of a Gaussian distribution to a given sample.

Usage

1

Arguments

data

List of data points to check

...

The plot is created using ggplot2. This special parameter can be used to pass additional parameters to the geom_point function used to plot the sample points.

Value

A ggplot object.

See Also

plotDensities

Examples

1
2
3
4
5
6
## Skewed distribution
sample <- rbeta(100 , 2 , 50)
qqplotGaussian(sample)
## Symmetric distribution
sample <- rbeta(100 , 5 , 5)
qqplotGaussian(sample)

scmamp documentation built on May 1, 2019, 10:10 p.m.