powered by
Allocate missing parameters to be empty two dimensional arrays. Used internally by simulate_infections.
simulate_infections.
allocate_empty(data, params, n = 0)
A list of parameters
A character vector of parameters to allocate to empty if missing.
Numeric, number of samples to assign an empty array
A list of parameters some allocated to be empty
# NOT RUN { data <- list(x = 1, y = 2, z = 30) EpiNow2:::allocate_empty(data, params = c("x", "t")) # }
Run the code above in your browser using DataLab