Skip to content

Commit

Permalink
Warn user for invalif formula
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 21, 2024
1 parent 9baa22b commit 5403938
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/standardize.models.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ standardize.default <- function(x,
return(x)
}

# check model formula. Some notations don't work when standardizing data
insight::formula_ok(x, verbose = verbose)

data_std <- NULL # needed to avoid note
.standardize_models(x,
robust = robust, two_sd = two_sd,
Expand Down

0 comments on commit 5403938

Please sign in to comment.