get_prediction_cost {bioinactivation}  R Documentation 
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
.
get_prediction_cost(data_for_fit, temp_profile, simulation_model, P,
known_params)
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) 
An instance of modCost
with the error of the
prediction.
modCost
, fit_dynamic_inactivation