View source: R/predict.sim_dlim.R
predict.sim_dlim  R Documentation 
This function estimates cumulative and noncumulative lag/modifier coefficients from a model in which the response is regressed on a crossbasis generated by the cross_basis()
function.
## S3 method for class 'sim_dlim'
predict(object, newdata = NULL, type = c("DLF", "CE", "response"), ...)
object 
an object of class " 
newdata 
vector of modifiers for inference (class " 
type 
Type of prediction. "response" for predicted responses, "DLF" for the estimated distributed lag functions, "CE" for cumulative effects (class " 
... 
additional arguments affecting the predictions produced 
This function returns a list of 4 or 7 elements:
est_dlim 

cb 
crossbais from 
fit 

true_betas 

cb_dlm 

model_dlm 

est_dlm 
cumulative and/or pointwise estimates, standard errors, and confidence intervals for the DLM (class " 
predict.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.