Univariate statistics on Crunch objects

mean(x, ...)

sd(x, na.rm = FALSE)

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

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

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

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

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

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

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

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

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

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

# S4 method for 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?