Skip to content

Commit

Permalink
adapt to easystats changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jun 22, 2024
1 parent 5071789 commit bb45f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/contingency-table.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ contingency_table <- function(
fixedMargin = fixed.margin,
priorConcentration = prior.concentration
) %>%
tidy_model_parameters(ci = conf.level, effectsize_type = "cramers_v", alternative = alternative)
tidy_model_parameters(ci = conf.level, es_type = "cramers_v", alternative = alternative)
}

if (type == "bayes" && test == "1way") {
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-tidy-model-expressions.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test_that("tidy_model_expressions works - F", {
df1 <- tidy_model_expressions(
tidy_model_parameters(
mod_f,
effectsize_type = "omega",
es_type = "omega",
table_wide = TRUE
),
statistic = "f"
Expand All @@ -96,7 +96,7 @@ test_that("tidy_model_expressions works - F", {
df2 <- tidy_model_expressions(
tidy_model_parameters(
mod_f,
effectsize_type = "eta",
es_type = "eta",
table_wide = TRUE
),
statistic = "f",
Expand Down

0 comments on commit bb45f69

Please sign in to comment.