View source: R/plot_cumulative.R
plot_cumulative | R Documentation |
Plot estimated distributed lag function values from a DLIM object, can also compare those of a DLM
plot_cumulative(
new_modifiers,
mod_fit,
dlm_fit = NULL,
mod_name = NULL,
mod_trans = NULL,
link_trans = NULL
)
new_modifiers |
a vector of new modifier values for prediction (class " |
mod_fit |
DLIM model object (class " |
dlm_fit |
a list containing a |
mod_name |
modifier name (character) |
mod_trans |
if modifiers are transformed, specify back transformation function (class " |
link_trans |
if family for |
This function returns a ggplot for cumulative effects, including for a DLM if specified
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.