confidenceIntervals | R Documentation |
returns a confidence interval table of the specified data (mean, standard deviation and associated statistical measures)
confidenceIntervals(data, column, removeNA = TRUE, alpha = 0.05)
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 |
a data.frame with two columns: statistic and the values calculated from the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.