Univariate statistics on Crunch objects

mean(x, ...)

sd(x, na.rm = FALSE)

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

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

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

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

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

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

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

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

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

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

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