Learn R Programming

BSDA (version 1.2.0)

EDA: Exploratory Data Anaalysis

Description

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

Usage

EDA(x, trim = 0.05)

Arguments

x

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

trim

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

Value

Function returns various measures of center and location. The values returned for the Quartiles are based on the definitions provided in BSDA. The boxplot is based on the Quartiles returned in the commands window.

Details

Will not return command 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.

Examples

Run this code
# NOT RUN {
EDA(rnorm(100))
    # Produces four graphs for the 100 randomly
    # generated standard normal variates.

# }

Run the code above in your browser using DataLab