View source: R/plot_and_fill_data.R
plot_and_fill_data | R Documentation |
Plot the simulated data object and use it to populate the stan input list.
plot_and_fill_data(
dat,
year_effects = 1L,
cohort_effects = 0L,
init_effects = 1L,
plot = FALSE
)
dat |
is simulated data object |
year_effects |
scalar, 1 if year effects are estimated |
cohort_effects |
scalar, 1 if cohort effects are estimated |
init_effects |
scalar, 1 if initial size effects are estimated |
plot |
Make a plot? |
stan_dat a list containing needed Stan slots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.