Predicted values based on a dlim
object.
Arguments
- object
an object of class "
dlim
"- newdata
a vector of new modifier values for prediction (class "
numeric
")- type
Type of prediction. "DLF" for the estimated distributed lag functions, "CE" for cumulative effects, "response" for fitted values, or any combination of these in a vector (class "
character
")- conf.level
The confidence level (class "
numeric
")- ...
additional arguments affecting the predictions produced
Value
This function returns a list of 3 elements:
- est_dlim
cumulative and/or point-wise estimates, standard errors, and confidence intervals (class "
list
")- cb
cross-basis object (class "
cross-basis
")- model
model object (class "
gam
")
See also
Type vignette('dlimOverview')
for a detailed description.