This function creates a quantile-quantile plot to assess the goodness of fit of a Gaussian distribution to a given sample.
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.
A ggplot object.
## Skewed distribution
sample <- rbeta(100 , 2 , 50)
## Symmetric distribution
sample <- rbeta(100 , 5 , 5)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.