Learn R Programming

scmamp (version 0.2.55)

qqplotGaussian: 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

qqplotGaussian(data, ...)

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

Run this code
## Skewed distribution
sample <- rbeta(100 , 2 , 50)
qqplotGaussian(sample)
## Symmetric distribution
sample <- rbeta(100 , 5 , 5)
qqplotGaussian(sample)

Run the code above in your browser using DataLab