ggQQplot: Create and plot a QQ plot matrix.

Description Usage Arguments Value Author(s) See Also

Description

Given a data.frame and vector of variable names within it, use ggplot2 to create a matrix of quantile-quantile plots based on the normal distribution and include 'fit' lines on each with intercepts equal to sample means and slopes equal to sample standard deviations.

Usage

1
ggQQplot(vars, dat)

Arguments

vars

A character vector specifying variables with data.frame 'dat' to plot.

dat

A data.frame containing variables to be plotted.

Value

A grid grob created by applying grid.arrange to list of ggplot2 objects.

Author(s)

Dave Braze davebraze@gmail.com

See Also

qqp


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