predict.dlim {dlim} | R Documentation |
DLIM Predictions
Description
Predicted values based on a dlim
object.
Usage
## S3 method for class 'dlim'
predict(
object,
newdata = NULL,
type = c("DLF", "CE", "response"),
conf.level = 0.95,
...
)
Arguments
object |
an object of class " |
newdata |
a vector of new modifier values for prediction (class " |
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 " |
conf.level |
The confidence level (class " |
... |
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 " |
cb |
cross-basis object (class " |
model |
model object (class " |
See Also
Type vignette('dlimOverview')
for a detailed description.
[Package dlim version 0.1.0 Index]