Description Usage Arguments Value
Predict method for rcgam model objects
1 2 3 4 |
object |
an object of type rcgam, with which to make predictions |
smear |
Unbias the predictions using the smearing coefficient? Defaults to TRUE |
type |
What to predict. If not "response" (the default), then the following are coerced to be FALSE: retrans, restrict, smear. See ?predict.gam. |
restrict |
Restrict the range of predictions to those observed in the calibration data? Defaults to FALSE. |
... |
Other arguments passed to mgcv::predict.gam |
retrans |
Retransform the predictions into the original units? Defaults to TRUE |
a list with element "fit" and potentially others, depending on optional arguments passed. See help("predict.gam", package = "mgcv") for more info The difference is that here the returned value will always be a list, possibly of length 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.