Skip to content

Commit 1e1ad1d

Browse files
committed
fix
1 parent 3b0ec8f commit 1e1ad1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: modelbased
33
Title: Estimation of Model-Based Predictions, Contrasts and Means
4-
Version: 0.14.0.5
4+
Version: 0.14.0.6
55
Authors@R:
66
c(person(given = "Dominique",
77
family = "Makowski",

R/format.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ format.marginaleffects_means <- function(x, model, ci = 0.95, ...) {
174174
)
175175
# for inequality analysis, we want to keep the stratification variable
176176
remove_columns <- setdiff(remove_columns, attributes(x)$hypothesis_by)
177-
} else if (context_effects) {
177+
} else if (isTRUE(context_effects)) {
178178
# for contrasting average slopes (context effects), the estimate might be
179179
# an odds ratio or IRR by default - thus, we want to keep those names
180180
estimate_name <- .guess_estimate_name(predict_type, transform, info)

0 commit comments

Comments
 (0)