statColumn {desctable} | R Documentation |
Generate one statistic for all variables
Description
Use one stat function (made safe using statify) on all the data to produce a single statistics column.
Usage
statColumn(stat, data)
Arguments
stat |
The statistic to use |
data |
The dataframe to apply the statistic to |
Details
The result is either a numeric vector, or a character vector if the content of the column is not made entirely of numbers.
Value
A vector for one statistic column
[Package desctable version 0.3.0 Index]