Skip to content

Commit

Permalink
Get more functions
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Dec 11, 2024
1 parent 05349d3 commit ddb5445
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/config.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ GenerationInterval <- S7::new_class( # nolint: object_name_linter
#'
#' Represents the delay interval parameters.
#' @rdname Interval
#' @family config
#' @export
DelayInterval <- S7::new_class( # nolint: object_name_linter
"DelayInterval",
Expand All @@ -61,6 +62,7 @@ DelayInterval <- S7::new_class( # nolint: object_name_linter
#'
#' Represents the right truncation parameters.
#' @rdname Interval
#' @family config
#' @export
RightTruncation <- S7::new_class( # nolint: object_name_linter
"RightTruncation",
Expand Down
1 change: 1 addition & 0 deletions R/extract_diagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#' (1) mean_accept_stat < 0.1, (2) p_divergent > 0.0075, (3)
#' p_max_treedepth > 0.05, and (4) p_high_rhat > 0.0075.
#' }
#' @family diagnostics
#' @export
extract_diagnostics <- function(fit,
data,
Expand Down
8 changes: 8 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ reference:
desc: Example data included in the package
contents:
- has_concept("data")
- title: Configuration
desc: Manages the input of all configuration settings into the `EpiNow2` model
contents:
- has_concept("config")
- title: Exclusions
desc: Functions to handle exclusion of data from models
contents:
- has_concept("exclusions")
- title: Diagnostics
desc: Functions to calculate diagnostics from fitted `EpiNow2` model
contents:
- has_concept("diagnostics")
- title: Parameter
desc: Functions for parameter values that are input into the `EpiNow2` model
contents:
Expand Down
12 changes: 12 additions & 0 deletions man/Interval.Rd

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

1 change: 1 addition & 0 deletions man/extract_diagnostics.Rd

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

0 comments on commit ddb5445

Please sign in to comment.