plot_DLF | R Documentation |
Plot estimated cumulative effects from a DLIM object, can also compare estimated cumulative effects between a DLM and DLIM
plot_DLF(
new_modifiers,
mod_fit,
mod_name,
dlm_fit = NULL,
plot_by,
time_pts = NULL,
mod_trans = NULL,
link_trans = NULL
)
new_modifiers |
a vector of new modifier values for prediction (class " |
mod_fit |
DLIM model object (class " |
mod_name |
modifier name that follows variable name nomenclature (class " |
dlm_fit |
a list containing a |
plot_by |
choose to create plots for particular modifier values, "modifier", or particular time points, "time", (class " |
time_pts |
a set of time points if plotting by time (class " |
mod_trans |
if modifiers are transformed, specify back transformation function (class " |
link_trans |
if family for |
This function returns a ggplot for point-wise effects isolated by either time points or modifier, including 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.