Plot the actual daily milk daily production and the predicted values highlighting the detected milk loss events
PlotMilkLoss(
data,
ID,
res.milkloss,
MY_col,
MY_pred,
col = c("red", "blue", "darkgreen"),
id_col = "ID"
)A plot with the actual daily milk daily production and the predicted values highlighting the detected milk loss events
A data frame containing the observed and predicted daily milking records
The ID of the individual that will have the daily milking records plotted
The object with the output of milkloss_detect function
The name of the column containing the observed milk yield
The name of the column containing the predicted milk yield
The colors of the actual, predicted values, and milk loss events. In this order
The name of the column containing the individual IDs