plot_res | R Documentation |
Plot of data plus model estimates (and credible intervals)
plot_res(mod1, mod2 = NULL, add_truth = FALSE)
mod1 |
The fitted model from |
mod2 |
An optional second fitted model from |
add_truth |
Logical argument to add the "True" data generating process to the plot. This should only be set to True when using simulated data from sim_dat |
p
dat <- sim_slr(n_sim = 30) mod <- run_mod(dat, model = "slr") plot_res(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.