crunch-uni {crunch}R Documentation

Univariate statistics on Crunch objects

Description

Univariate statistics on Crunch objects

Usage

mean(x, ...)

sd(x, na.rm = FALSE)

median(x, na.rm = FALSE, ...)

## S4 method for signature 'CrunchVariable'
mean(x, ...)

## S4 method for signature 'NumericVariable'
mean(x, ...)

## S4 method for signature 'CrunchVariable'
sd(x, na.rm = FALSE)

## S4 method for signature 'NumericVariable'
sd(x, na.rm = FALSE)

## S4 method for signature 'CrunchVariable'
min(x, na.rm)

## S4 method for signature 'NumericVariable'
min(x, na.rm = FALSE)

## S4 method for signature 'DatetimeVariable'
min(x, na.rm = FALSE)

## S4 method for signature 'CrunchVariable'
max(x, na.rm)

## S4 method for signature 'NumericVariable'
max(x, na.rm = FALSE)

## S4 method for signature 'DatetimeVariable'
max(x, na.rm = FALSE)

Arguments

x

a NumericVariable, or for min and max, a NumericVariable or DatetimeVariable

...

additional arguments to summary statistic function

na.rm

logical: exclude missings?

See Also

base::mean() stats::sd() stats::median() base::min() base::max()


[Package crunch version 1.30.1 Index]