descStat: Computing simple descriptive statistics of a numeric vector.

descStatR Documentation

Computing simple descriptive statistics of a numeric vector.

Description

Computing simple descriptive statistics of a numeric vector - not unlike what proc means of SAS does

Usage

descStat(x, na.rm = TRUE)

Arguments

x

A numeric vector

na.rm

Should missing values be removed

Value

A vector with named elements.

Author(s)

Gregor Gorjanc; gregor.gorjanc@bf.uni-lj.si

See Also

summaryBy, summary_by

Examples


x <- c(1, 2, 3, 4, NA, NaN)
descStat(x)


doBy documentation built on Oct. 8, 2024, 1:06 a.m.