Skip to content

Commit

Permalink
rough FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencarlislewalker committed Nov 6, 2024
1 parent 6757234 commit 53f9756
Show file tree
Hide file tree
Showing 4 changed files with 498 additions and 2 deletions.
8 changes: 7 additions & 1 deletion R/mp_cal_time.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@
#' @param sim_end End time of each simulation.
#' @param time_scale Qualitative description of the size of a time step.
#' currently only `"steps"`, `"daily"`, and `"weekly"` are allowed,
#' and `"weekly"` is not well tested.
#' and but `"steps"` is the only recommended version as the other two
#' are poorly tested and will throw a warning. The recommended `"steps"`
#' option assumes that positive integers are used to indicate a particular
#' point in the simulation.
#'
#' @export
mp_sim_bounds = function(sim_start, sim_end, time_scale) {
if (time_scale != "steps") {
warning('The only recommended choice for time_scale is "steps", but ', time_scale, ' was chosen.')
}
CalTime(sim_start, sim_end, time_scale)
}

Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ articles:
- calibration
- real_data
- state_updaters
- FAQs
- title: Specs
desc: Specification Documents
contents:
Expand Down
5 changes: 4 additions & 1 deletion man/mp_sim_bounds.Rd

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

Loading

0 comments on commit 53f9756

Please sign in to comment.