Skip to content

Commit

Permalink
use the right transform data keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Dec 2, 2024
1 parent 817738f commit 4024aba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions R/transform_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @param family A description of the response distribution and link function to
#' be used in the model created using [epidist_family()].
#' @param formula A formula object created using [epidist_formula()].
#' @family transform
#' @family transform_data
#' @export
epidist_transform_data <- function(data, family, formula, ...) {
assert_epidist(data)
Expand All @@ -21,7 +21,7 @@ epidist_transform_data <- function(data, family, formula, ...) {
#'
#' @inheritParams epidist_transform_data
#' @rdname epidist_transform_data_model
#' @family transform
#' @family transform_data
#' @export
epidist_transform_data_model <- function(data, family, formula, ...) {
UseMethod("epidist_transform_data_model")
Expand All @@ -30,7 +30,7 @@ epidist_transform_data_model <- function(data, family, formula, ...) {
#' Default method for transforming data for a model
#'
#' @inheritParams epidist_transform_data_model
#' @family transform
#' @family transform_data
#' @export
epidist_transform_data_model.default <- function(data, family, formula, ...) {
return(data)
Expand Down
4 changes: 2 additions & 2 deletions man/epidist_transform_data.Rd

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

4 changes: 2 additions & 2 deletions man/epidist_transform_data_model.Rd

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

4 changes: 2 additions & 2 deletions man/epidist_transform_data_model.default.Rd

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

0 comments on commit 4024aba

Please sign in to comment.