Skip to contents

Applies a statistical function to all columns of a data frame

Usage

colStatisticOneFunction(dataFrame, FUN, na.rm = FALSE)

Arguments

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