Description Usage Arguments Details Author(s) Examples
Calculates a upper Prediction limit for the TTSC given a certain dataset and alpha value
1 | pred_upper(data, alpha, y_variable, time_variable, mrl, cows, amount,....)
|
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 |
mrl |
Maximum Residue Limit allowed within the milk of each cow |
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 |
This function provides a upper prediction bound with level alpha for the data and provides the TTSC to accompany it.
Cathal Ryan
1 2 | Using pre installed dataset pred_table:
pred_upper(data = pred_table, cows = 25, amount = 8, alpha = 0.05, y_variable = 6, time_variable = 3, mrl = log(0.04))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.