Skip to content

Commit

Permalink
style: move position for cli heading closer to where condition occurs #…
Browse files Browse the repository at this point in the history
  • Loading branch information
egouldo committed Aug 29, 2024
1 parent 571f09f commit 711fc52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/fit_uni_mixed_effects.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fit_uni_mixed_effects <- function(data, N = 5) {

} else{

cli::cli_h2(c("Fitting glm for Box-Cox transformed outcome with inclusion of random effects (binary variable) as predictor"))


data <- data %>%
dplyr::select(dplyr::starts_with("box_cox_abs_"),
Expand All @@ -67,6 +67,8 @@ fit_uni_mixed_effects <- function(data, N = 5) {
recipes::step_mutate(mixed_model = as.factor(mixed_model)) %>%
recipes::step_naomit()

cli::cli_h2(c("Fitting glm for Box-Cox transformed outcome with inclusion of random effects (binary variable) as predictor"))

glm_mod <- parsnip::linear_reg(engine = "glm")

fitted_mod <-
Expand Down

0 comments on commit 711fc52

Please sign in to comment.