predict_ttr | R Documentation |
Make a prediction from a fitted TTR.PGM model.
predict_ttr(parms, Model, Data, new.input = NULL, options = NULL, optim = NULL)
parms |
A vector of parameters compatible with the data object 'Data' and the user defined Model function |
Model |
A user defined Model function that accepts 'parms' and 'Data' as input |
Data |
A Data object as produced by |
new.input |
If the prediction should use different forcing data from 'Data', this can be an input object as returned by |
options |
If the prediction should use different options from 'Data', this can be supplied as an options list as required by |
optim |
If the user defined Model function tests for 'optim' in options, this can be used to set it. Defaults to the string "no" |
predict_ttr()
returns the data object specified when the option
'Data$options$optim' in the user defined Model is set to "no".
See the vignette for an example.
The prediction as specified in the user defined Model function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.