mx_describe: Descriptive summary statistics

Description Usage Arguments Details Value See Also Examples

Description

Descriptive summary statistics for .

Usage

1
2
3
describe(x, na.rm = TRUE, digits = 2, type = 1, ...)

mx_describe(x, na.rm = TRUE, digits = 2, type = 1, ...)

Arguments

x

vector of values to be summarized.

na.rm

logical, defaults to TRUE.

digits

numeric, number of digits for rounding.

type

default=1, an integer between 1 and 3 selecting one of the algorithms for computing skewness detailed in kurtosis.

...

further arguments passed to other methods

Details

Summary statistics applied to a vector or rows/columns of a matrix. For skewness and kurtosis:

Value

For describe, a list with descriptive statistics:


For mx_describe, a list of two items showing row and column summaries, each containing the above items.

See Also

kurtosis, skewness

Examples

1
2
3
4
x <- c(rnorm(99, 0.1), NA)
describe(x)
y <- matrix(rnorm(1000), 20, 50)
mx_describe(y)

phytomosaic/ecole documentation built on Jan. 2, 2022, 11:24 p.m.