colStatisticOneFunction | R Documentation |
Applies a statistical function to all columns of a data frame
colStatisticOneFunction(dataFrame, FUN, na.rm = FALSE)
dataFrame |
a data frame of which statistics are to be calculated |
FUN |
statistical function to be applied on each column of dataFrame possible values: "sum", "mean", "min", "max", "number.na" (number of NA values), "length" (number of values) |
na.rm |
if TRUE, NA values are removed before applying the statistical function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.