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
, a NumericVariable or
DatetimeVariable
additional arguments to summary statistic function
logical: exclude missings?
base::mean()
stats::sd()
stats::median()
base::min()
base::max()