Description Usage Arguments See Also Examples
Adds the contribution (plus confidence intervals) of a specific term to the
linear predictor to the provided data.
Largely a wrapper to predict.gam
, with type="terms"
.
Thus most arguments and their documentation below is from predict.gam
.
1 2 |
newdata |
A data frame or list containing the values of the model covariates at which predictions
are required. If this is not provided then predictions corresponding to the
original data are returned. If |
object |
a fitted |
term |
A character (vector) or regular expression indicating for which term(s) information should be extracted and added to data set. |
se.fit |
when this is TRUE (not default) standard error estimates are returned for each prediction. |
type |
When this has the value |
se.mult |
The factor by which standard errors are multiplied to form confidence intervals. |
relative |
If |
... |
Further arguments passed to |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.