tableSummary: returns a statistics summary table of the specified data...

View source: R/statTools.R

tableSummaryR Documentation

returns a statistics summary table of the specified data (mean and associated statistical measures)

Description

returns a statistics summary table of the specified data (mean and associated statistical measures)

Usage

tableSummary(data, column, removeNA = TRUE, alpha = 0.05)

Arguments

data

the data to be used, can be a numeric/character/etc vector or data.frame like (or tibble etc). If it is data.frame or similar the column argument defines which column is to be used

column

defines which column is to be used for calculating the statistics. Can be integer or character (column name)

removeNA

if TRUE, the NA 'values' in the vector will be removed prior to the calculations. @note this will remove warning messages and errors

alpha

specifies the confidence level to be used. @note this value should be between 0 and 1

Value

a data.frame with two columns: statistic name and the calculated statistic itself


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.