Description Usage Arguments Details Source Examples
View source: R/plot_functions.R
Produces an array of interesting plots
to illustrate the values in the numeric vector x
.
Includes several summary statistics.
1 |
x |
a numeric vector. |
na.rm |
logical; should NA values be removed? |
title |
main title for the array of plots (derived from name of |
The following plots are produced in a 2x3 array:
(1) Box Plot, with summary stats for number of observations, missing/valid values, minimum, maximum, quartiles
(2) Histogram and Density, including overlayed Normal density
(3) Auto-correlation correlogram
(4) Normal Q-Q plot, with stats for mean, SD, skewness and excess kurtosis
(5) Association of values at lag=1
(6) Run plot, with loess curve.
Thanks to Paul Murrell for the original idea.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.