toleranceInterval | R Documentation |
returns a data.frame with 2-sided tolerance intervals for the data distributed according to normal distribution
toleranceInterval(
data,
column,
removeNA = TRUE,
alpha = 0.05,
proportion = 0.95
)
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), specifies the confidence level required |
proportion |
specifies proportion of the population |
a data.frame with two columns: statistic and the values calculated from the data
tolerance interval = the range that covers a specified proportion of the population with a given level of confidence (1-alpha). It expresses the range where individual values from the population are expect to be
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.