get_prediction_cost {bioinactivation} | R Documentation |
Error of the Prediction of Microbial Inactivation
Description
Calculates the error of the prediction of microbial inactivation for the chosen inactivation model and the given parameters with respect to the experimental data provided. This function is compatible with the function fit_dynamic_inactivation.
Usage
get_prediction_cost(
data_for_fit,
temp_profile,
simulation_model,
P,
known_params
)
Arguments
data_for_fit |
A data frame with the experimental data to fit. It must contain a column named “time” and another one named “N”. |
temp_profile |
|
simulation_model |
character key defining the inactivation model. |
P |
list with the unknown parameters of the model to be adjusted. |
known_params |
list with the parameters of the model fixed (i.e., not adjusted) |
Value
An instance of FME::modCost with the error of the prediction.
[Package bioinactivation version 1.3.0 Index]