EMA_method: EMA method for calculating Tolerance interval

Description Usage Arguments Author(s) Examples

View source: R/EMA_method.R

Description

Calculating TTSC by the use of Tolerance upper bounds with the help of EMA method

Usage

1
EMA_method(data = data, LOQ = 0.02, alpha = 0.05, ...)

Arguments

data

the dataset to be used, can also use one of the pre-installed datasets in this package

cows

the amount of cows in the dataset

amount

the amount of milkings per cow

alpha

the alpha value to be used for Tolerance, Confidence or Prediction upper bounds

y_variable

column number for the y_variable to be used in calculating the TTSC

time_variable

column number referencing the variable that shows the time at which each milking occured

LOQ

Value at which each milking is censored at if it reaches that point

Author(s)

Cathal Ryan

Examples

1
2
Only tested using pred_table:
EMA_method(data = data, LOQ = 0.02, alpha = 0.05, delta = 0.05, cows = 25, amount = 8, y_variable = 5, time_variable = 3)

cathal-ryan-96/Tolerance documentation built on July 30, 2019, 11:04 p.m.