diff --git a/R/generics.R b/R/generics.R index f34da81ee..69be3f320 100644 --- a/R/generics.R +++ b/R/generics.R @@ -1,5 +1,6 @@ #' Validate #' +#' @param data A dataframe to be used for modelling. #' @family generics #' @export epidist_validate <- function(data) { @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/man/epidist_validate.Rd b/man/epidist_validate.Rd index 01b5ece85..fb85e1564 100644 --- a/man/epidist_validate.Rd +++ b/man/epidist_validate.Rd @@ -6,6 +6,9 @@ \usage{ epidist_validate(data) } +\arguments{ +\item{data}{A dataframe to be used for modelling.} +} \description{ Validate } diff --git a/man/epidist_validate.default.Rd b/man/epidist_validate.default.Rd index f0e08f88b..a8a24ab0c 100644 --- a/man/epidist_validate.default.Rd +++ b/man/epidist_validate.default.Rd @@ -7,6 +7,8 @@ \method{epidist_validate}{default}(data, ...) } \arguments{ +\item{data}{A dataframe to be used for modelling.} + \item{...}{Additional arguments for method.} } \description{