eda: Exploratory Data Analysis

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Function that produces a histogram, density plot, boxplot, and Q-Q plot

Usage

1
eda(x, trim = 0.05, dec = 5, tquan = 7)

Arguments

x

is a numeric vector where NAs and Infs are allowed but will be removed.

trim

is a fraction (between 0 and 0.5, inclusive) of values to be trimmed from each end of the ordered data such that if trim = 0.5, the result is the median.

dec

is a number specifying the number of decimals

tquan

type of quantile 1 through 9. For the various types of quantiles, see quantile.

Details

The function eda() will not return console window information on data sets containing more than 5000 observations. It will, however, still produce graphical output for data sets containing more than 5000 observations.

Value

Function returns various measures of center and location. The values returned for the quartiles are based on the default R definitions for quartiles. For more information on the definition of the quartiles, type ?quantile and read about the algorithm used by type = 7.

Author(s)

Alan T. Arnholt <arnholtat@appstate.edu>

See Also

quantile

Examples

1
2
3
eda(x = rnorm(100))
# Produces four graphs for the 100 randomly
# generated standard normal variates.

alanarnholt/simplemathr documentation built on May 10, 2019, 8:49 a.m.