cross_summary: Summarize a numeric vector

View source: R/funs.R

cross_summaryR Documentation

Summarize a numeric vector

Description

Summarize a numeric vector with min, max, mean, sd, median, IQR, n and missings.

Usage

cross_summary(x, dig = 1, ...)

Arguments

x

a numeric vector

dig

number of digits

...

params to pass on to format_fixed(): zero_digits and only_round

Value

a list of named functions

Author(s)

Dan Chaltiel, David Hajage

Examples

cross_summary(iris$Sepal.Length)
cross_summary(iris$Petal.Width, dig=3)
cross_summary(mtcars2$hp_date)
cross_summary(mtcars2$qsec_posix, date_format="%d/%m %H:%M")

crosstable documentation built on Nov. 13, 2023, 1:08 a.m.