Skip to content

Commit

Permalink
Make lfmcmc vignette simpler to start
Browse files Browse the repository at this point in the history
  • Loading branch information
apulsipher committed Oct 17, 2024
1 parent b4c2c6a commit c512812
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions vignettes/likelihood-free-mcmc.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ kernfun <- function() {
par0 <- c(.5, .5)
# TODO: make these work
lfmcmc_model <- LFMCMC() |>
set_simulation_fun(simfun) |>
set_summary_fun(sumfun) |>
set_proposal_fun(propfun) |>
set_kernel_fun(kernfun) |>
set_observed_data(obs_dat) |>
run_lfmcmc(par0, 2000, 1)
lfmcmc_model
lfmcmc_model <- seed(lfmcmc_model, model_seed) |>
set_par_names(c("Immune recovery", "Infectiousness")) |>
set_stats_names(get_states(model_sir)) |>
print()
lfmcmc_model <- LFMCMC()
# set_simulation_fun(simfun) |>
# set_summary_fun(sumfun) |>
# set_proposal_fun(propfun) |>
# set_kernel_fun(kernfun) |>
# set_observed_data(obs_dat) |>
# run_lfmcmc(par0, 2000, 1)
# lfmcmc_model
# lfmcmc_model <- seed(lfmcmc_model, model_seed) |>
# set_par_names(c("Immune recovery", "Infectiousness")) |>
# set_stats_names(get_states(model_sir)) |>
# print()
```

0 comments on commit c512812

Please sign in to comment.