Univariate statistics on Crunch objects
# 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)
a NumericVariable, or for min
and max
, possibly a
DatetimeVariable
additional arguments to mean
logical: exclude missings?