Learn R Programming

MultBiplotR (version 23.11.0)

BasicDescription: Basic descriptive sataistics

Description

Basic descriptive sataistics of several variables by the categories of a factor.

Usage

BasicDescription(X, groups = NULL, SortByGroups = FALSE, na.rm = FALSE, Intervals = TRUE)

Value

A list with the description of each variable.

Arguments

X

A data frame or a matrix containing several numerical variables

groups

A factor with the groupings

SortByGroups

Sorting by groups

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Intervals

Should the confidence intervals be calculated?

Author

Jose Luis Vicente Villardon

Details

Basic descriptive sataistics of several variables by the categories of a factor.

Examples

Run this code
data(wine)
BasicDescription(wine[,4:8], groups = wine$Origin)

Run the code above in your browser using DataLab