Learn R Programming

openintro (version 2.4.0)

qqnormsim: 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)

Value

A 3 x 3 grid of qqplots.

Arguments

sample

the variable to be plotted.

data

data frame to use.