check_and_sanitize_prediction | R Documentation |
If prediction is NA for observables which are not observed in a condition, they don't matter. In this case, replace NA by 0, such that the error model can be evaluated.
check_and_sanitize_prediction(prediction, data, cn, FLAGNaNInfwarnings)
prediction |
prediction for condition cn |
data |
datalist |
cn |
condition name for which the prediction was made |
FLAGNaNInfwarnings |
print warnings? |
the prediction with harmless NA's replaced by 0
Daniel Lill (daniel.lill@physik.uni-freiburg.de)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.