Function that produces a histogram, density plot, boxplot, and Q-Q plot
eda(x, trim = 0.05, dec = 3)
is a numeric vector where NA
s and Inf
s are allowed but will be removed.
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.
is a number specifying the number of decimals
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
.
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.
eda(x = rnorm(100))
#> Size (n) Missing Minimum 1st Qu Mean Median TrMean 3rd Qu
#> 100.000 0.000 -1.826 -0.404 0.111 0.022 0.098 0.634
#> Max Stdev Var SE Mean I.Q.R. Range Kurtosis Skewness
#> 3.007 0.856 0.732 0.086 1.038 4.833 0.322 0.320
#> SW p-val
#> 0.469
# Produces four graphs for the 100 randomly
# generated standard normal variates.