From b9a6bacd7b475d7f8e119f06df865d2dd21e3804 Mon Sep 17 00:00:00 2001 From: Martin Chan Date: Thu, 17 Aug 2023 15:57:10 +0100 Subject: [PATCH] fix: failed example with create_IV --- R/create_IV.R | 2 +- man/create_IV.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/create_IV.R b/R/create_IV.R index cf9554e7..b2f22c7a 100644 --- a/R/create_IV.R +++ b/R/create_IV.R @@ -61,7 +61,7 @@ #' #' # Return summary #' sq_data %>% -#' dplyr::mutate(X = ifelse(Collaboration_hours > 2, 1, 0)) %>% +#' dplyr::mutate(X = ifelse(Collaboration_hours > 10, 1, 0)) %>% #' create_IV(outcome = "X", #' predictors = c("Email_hours", "Meeting_hours"), #' return = "summary") diff --git a/man/create_IV.Rd b/man/create_IV.Rd index 25f6f537..71920aaa 100644 --- a/man/create_IV.Rd +++ b/man/create_IV.Rd @@ -76,7 +76,7 @@ sq_data \%>\% # Return summary sq_data \%>\% - dplyr::mutate(X = ifelse(Collaboration_hours > 2, 1, 0)) \%>\% + dplyr::mutate(X = ifelse(Collaboration_hours > 10, 1, 0)) \%>\% create_IV(outcome = "X", predictors = c("Email_hours", "Meeting_hours"), return = "summary")