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


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