qqplotGaussian: Gaussian distribution quantile-quantile plot

qqplotGaussianR Documentation

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

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

b0rxa/scmamp documentation built on Jan. 17, 2024, 10:49 a.m.