describe: Descriptive statistics

Description Usage Arguments Examples

View source: R/describe.R

Description

Descriptive statistics for a matrix or data frame.

Usage

1
2
3
4
describe(data, by, detailed = FALSE, ...)

## S3 method for class 'describe'
print(x, digits = getOption("digits"), ...)

Arguments

data

a matrix or a data.frame.

by

the name of a variable to condition on,

detailed

logical, if TRUE a detailed summary is returned.

...

additional arguments to be passed to the low level functions.

x

an object of class 'describe'.

digits

significant digits.

Examples

1
2
describe(iris, detailed = TRUE)
describe(iris, by = Species)

luca-scr/smef documentation built on Feb. 22, 2022, 8:32 p.m.