statTable: Generate the table of all statistics for all variables

View source: R/build.R

statTableR Documentation

Generate the table of all statistics for all variables

Description

If stats is a list of functions or purrr::map like formulas, use them. If it is a single function, use it with the entire data as its argument to produce a list of statistical functions to use.

Usage

statTable(data, stats)

Arguments

data

The dataframe to apply the statistic to

stats

A list of named statistics to use

Value

A dataframe of all statistics for all variables


desctable documentation built on March 24, 2022, 5:07 p.m.