Skip to content

Commit

Permalink
Fix errors in examples in LFMCMC.R
Browse files Browse the repository at this point in the history
  • Loading branch information
apulsipher committed Nov 20, 2024
1 parent 37446ed commit 97edc81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/LFMCMC.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
#'
#' ## Setup LFMCMC
#' # Extract the observed data from the model
#' obs_data <- unname(as.integer(get_today_total(model_sir)))
#' obs_data <- get_today_total(model_sir)
#'
#' # Define the simulation function
#' simfun <- function(params) {
#' set_param(model_sir, "Recovery rate", params[1])
#' set_param(model_sir, "Transmission rate", params[2])
#' run(model_sir, ndays = 50)
#' res <- unname(as.integer(get_today_total(model_sir)))
#' res <- get_today_total(model_sir)
#' return(res)
#' }
#'
Expand Down
4 changes: 2 additions & 2 deletions man/LFMCMC.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97edc81

Please sign in to comment.