| univar {rapportools} | R Documentation |
This function operates only on vectors or their subsets, by
calculating a descriptive statistic specified in fn
argument.
univar(x, subset = NULL, fn, na.rm = TRUE, ...)
x |
a numeric variable to be summarised |
subset |
an expression that evaluates to logical
vector (defaults to |
fn |
a function or a function name to be applied on a variable or it's subset |
na.rm |
a logical value indicating whether
|
... |
additional arguments for function specified in
|
a numeric