Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stochasticity within a level of parameter set #26

Open
levisc8 opened this issue Jun 14, 2021 · 0 comments
Open

stochasticity within a level of parameter set #26

levisc8 opened this issue Jun 14, 2021 · 0 comments

Comments

@levisc8
Copy link
Collaborator

levisc8 commented Jun 14, 2021

Given multiple parameter sets, allow for stochastic models to be stochastic within a level of one or more (e.g. stochastic across years within sites).

Interface:

par_set_list <- list(yr = 2005:2012, site = c("A", "B", "C")

define_kernel(..., uses_par_sets = TRUE, par_set_indices = par_set_list) %>%
define_impl(..., stoch_within = "site")

^^ Should produce 3 separate stochastic models for sites A,B,C using years 2005:2012 at each one.

NB: Not sure if this should go within define_impl or somewhere else - maybe define_pop_state() or make_ipm()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant