Skip to content

Commit

Permalink
Correct documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes authored and seabbs committed Jul 15, 2024
1 parent f290d6f commit 9451ab6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/generics.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#' Validate
#'
#' @param data A dataframe to be used for modelling.
#' @family generics
#' @export
epidist_validate <- function(data) {
Expand All @@ -8,7 +9,7 @@ epidist_validate <- function(data) {

#' Define a model specific formula
#'
#' @param data A dataframe to be used for modelling.
#' @inheritParams epidist_validate
#' @param ... Additional arguments for method.
#' @family generics
#' @export
Expand All @@ -18,7 +19,7 @@ epidist_formula <- function(data, ...) {

#' Define model specific family
#'
#' @inheritParams epidist_formula
#' @inheritParams epidist_validate
#' @param ... Additional arguments for method.
#' @family generics
#' @export
Expand All @@ -28,7 +29,7 @@ epidist_family <- function(data, ...) {

#' Define model specific priors
#'
#' @inheritParams epidist_formula
#' @inheritParams epidist_validate
#' @param ... Additional arguments for method.
#' @rdname epidist_prior
#' @family generics
Expand All @@ -39,7 +40,7 @@ epidist_prior <- function(data, ...) {

#' Define model specific Stan code
#'
#' @inheritParams epidist_formula
#' @inheritParams epidist_validate
#' @param ... Additional arguments for method.
#' @rdname epidist_stancode
#' @family generics
Expand All @@ -55,7 +56,7 @@ epidist_stancode <- function(data, ...) {
#' @param prior ...
#' @param fn Likely `brms::brm`. Also possible to be `brms::make_stancode` or
#' `brms::make_standata`.
#' @inheritParams epidist_formula
#' @inheritParams epidist_validate
#' @param ... Additional arguments for method.
#' @family generics
#' @export
Expand Down
3 changes: 3 additions & 0 deletions man/epidist_validate.Rd

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

2 changes: 2 additions & 0 deletions man/epidist_validate.default.Rd

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

0 comments on commit 9451ab6

Please sign in to comment.