qqplotGaussian: Gaussian distribution quantile-quantile plot

Description Usage Arguments Value See Also Examples

View source: R/plotting.R

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 29, 2017, 12:57 p.m.

Search within the scmamp package
Search all R packages, documentation and source code