predict.dlim | R Documentation |
Predicted values based on a dlim
object.
## S3 method for class 'dlim'
predict(
object,
newdata = NULL,
type = c("DLF", "CE", "response"),
conf.level = 0.95,
...
)
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 |
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 " |
dlim
Type vignette('dlimOverview')
for a detailed description.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.