This function takes a dataframe as argument and returns a list of statistcs in the form accepted by desctable.
stats_auto(data)
A list of statistics to use, assessed from the content of the dataframe
The dataframe to apply the statistic to
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.