Usage Arguments Details Value Author(s) See Also
1 | qqp(v, dat)
|
v |
A character string naming a variable in data.frame 'dat'. |
dat |
A data.frame containing at least 1 variable 'v'. |
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.
a ggplot2 object
Dave Braze davebraze@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.