qqp: Quantile-Quantile plot for a variable within a data.frame.

Usage Arguments Details Value Author(s) See Also

Usage

1
qqp(v, dat)

Arguments

v

A character string naming a variable in data.frame 'dat'.

dat

A data.frame containing at least 1 variable 'v'.

Details

Given a data.frame and the name of a variable within it use ggplot2 to create a quantile-quantile plot based on the normal distribution. Also plot a 'fit' line with intercept equal to sample mean and slope equal to sample standard deviation.

Value

a ggplot2 object

Author(s)

Dave Braze davebraze@gmail.com

See Also

ggQQplot


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.