A prediction frame stores model predictions as a matrix with the column
"time" and one column per variable. The attributes are "deriv", the
first-order sensitivities with respect to the outer parameters (see P()),
"deriv2", the second-order sensitivities, and "parameters", the inner
parameters used for the prediction.
Prediction lists (prdlist) returned by Xs(), Xd() or Xf() consist
of prediction frames. A custom prediction function (see P2X in prdfn())
returns one.
Arguments
- prediction
numeric matrix of model predictions. Default
NULLgives an empty matrix.- deriv
3D numeric array
[time, variable, parameter]of first-order sensitivities. DefaultNULL.- deriv2
4D numeric array
[time, variable, parameter, parameter]of second-order sensitivities, symmetric in the last two axes. DefaultNULL.- parameters
named numeric vector of the inner parameters. Default
NULL.