confidenceIntervals: returns a confidence interval table of the specified data...

View source: R/statTools.R

confidenceIntervalsR Documentation

returns a confidence interval table of the specified data (mean, standard deviation and associated statistical measures)

Description

returns a confidence interval table of the specified data (mean, standard deviation and associated statistical measures)

Usage

confidenceIntervals(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 quantiles. Can be integer or character (column name)

removeNA

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

alpha

(1-confidence level) for the upper and lower levels of the mean and the standard deviation

Value

a data.frame with two columns: statistic and the values calculated from the data


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