Skip to contents

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

Value

A list of statistics to use, assessed from the content of the dataframe

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.