Description Usage Arguments Details Author(s) Examples
Create a tolerance interval for difference delta values
1 |
data |
data to be used |
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 |
delta |
the delta value to be used for the two different types of Tolerance intervals |
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 will calculate the mrl for all values given in the vector for the parameter alpha. It will then provide you with the amount of cows that would be said to be safe to milk at different milking times. If there are any cows that do have a different safe milking time then it will stop, if not it will just give the TTSC for the first alpha value.
Cathal Ryan
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.