зеркало из https://github.com/microsoft/wpa.git
fix: failed example with create_IV
This commit is contained in:
Родитель
f52fa4f2d7
Коммит
b9a6bacd7b
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Загрузка…
Ссылка в новой задаче