Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 30, 2024
1 parent 32dd157 commit 51546ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/format_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ format_parameters.parameters_model <- function(model, ...) {

# quick fix, for multivariate response models, we use
# info from first model only
if (insight::is_multivariate(model) && !"is_zero_inflated" %in% names(info) && !inhertis(model, c("vgam", "vglm"))) {
if (insight::is_multivariate(model) && !"is_zero_inflated" %in% names(info) && !inherits(model, c("vgam", "vglm"))) {
info <- info[[1]]
}

Expand Down
2 changes: 1 addition & 1 deletion R/utils_model_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# for simplicity, we just use the model information from the first formula
# when we have multivariate response models...
if (insight::is_multivariate(model) && !"is_zero_inflated" %in% names(info) && !inhertis(model, c("vgam", "vglm"))) {
if (insight::is_multivariate(model) && !"is_zero_inflated" %in% names(info) && !inherits(model, c("vgam", "vglm"))) {
info <- info[[1]]
}

Expand Down

0 comments on commit 51546ad

Please sign in to comment.