Basic descriptive sataistics
Basic descriptive sataistics of several variables by the categories of a factor.
BasicDescription(X, groups = NULL, SortByGroups = FALSE, na.rm = FALSE, Intervals = TRUE)
X
: A data frame or a matrix containing several numerical variablesgroups
: A factor with the groupingsSortByGroups
: Sorting by groupsna.rm
: a logical value indicating whether NA values should be stripped before the computation proceeds.Intervals
: Should the confidence intervals be calculated?Basic descriptive sataistics of several variables by the categories of a factor.
A list with the description of each variable.
Jose Luis Vicente Villardon
data(wine) BasicDescription(wine[,4:8], groups = wine$Origin)
Useful links