Skip to content

Commit

Permalink
Update mcmc.R
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithJF82 committed Sep 2, 2024
1 parent a4b7802 commit 1a6d1ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/mcmc.R
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,11 @@ mcmc_prelim_fit <- function(n_iterations = 1, n_param_sets = 1, n_bounds = 1, lo
param_names = create_param_labels(enviro_data, extra_estimated_params)

#TODO - Additional assert_that checks
# input_data = input_data_process(input_data, obs_sero_data, obs_case_data)
# regions = names(table(input_data$region_labels)) #Regions in new processed input data list
# n_regions = length(regions)
# assert_that(all(regions %in% enviro_data$region),msg="Environmental data must be available for all regions in observed data")
# enviro_data = subset(enviro_data, enviro_data$region %in% regions)
assert_that(length(param_names) == n_params)
names(log_params_min) = names(log_params_max) = param_names

Expand Down

0 comments on commit 1a6d1ec

Please sign in to comment.