Function that produces a histogram, density plot, boxplot, and Q-Q plot
eda(x, trim = 0.05, dec = 5, tquan = 7)
x | is a numeric vector where |
---|---|
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 |
dec | is a number specifying the number of decimals |
tquan | type of quantile 1 through 9. For the various types of quantiles, see |
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.
quantile
eda(x = rnorm(100))#> Size (n) Missing Minimum 1st Qu Mean Median TrMean 3rd Qu #> 100.00000 0.00000 -2.61233 -0.35608 0.07079 0.09104 0.07676 0.62341 #> Max Stdev Var SE Mean I.Q.R. Range Kurtosis Skewness #> 2.75542 1.05091 1.10440 0.10509 0.97949 5.36775 0.24235 -0.20594 #> SW p-val #> 0.13736# Produces four graphs for the 100 randomly # generated standard normal variates.