qqnormsim: Generate simulated QQ plots

View source: R/qqnormsim.R

qqnormsimR Documentation

Generate simulated QQ plots

Description

Create a 3 x 3 grid of quantile-quantile plots, the first of which corresponds to the input data. The other eight plots arise from simulating random normal data with the same mean, standard deviation, and length as the data. For use in comparing known-normal qqplots to an observed qqplot to assess normality.

Usage

qqnormsim(sample, data)

Arguments

sample

the variable to be plotted.

data

data frame to use.

Value

A 3 x 3 grid of qqplots.


OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.