Gaussian distribution quantile-quantile plot

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.