stats_auto {desctable} | R Documentation |
Function to create a list of statistics to use in desctable
Description
This function takes a dataframe as argument and returns a list of statistcs in the form accepted by desctable.
Usage
stats_auto(data)
Arguments
data |
The dataframe to apply the statistic to |
Details
You can define your own automatic function, as long as it takes a dataframe as argument and returns a list of functions, or formulas defining conditions to use a stat function.
Value
A list of statistics to use, assessed from the content of the dataframe
[Package desctable version 0.3.0 Index]