statColumn: Generate one statistic for all variables

View source: R/build.R

statColumnR 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


MaximeWack/desctable documentation built on April 6, 2022, 5:38 a.m.