Skip to content

Commit

Permalink
harmonize order of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 4, 2025
1 parent 4c5b801 commit 7f3ff3e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions R/estimate_contrasts.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ estimate_contrasts.default <- function(model,
by = NULL,
predict = NULL,
ci = 0.95,
p_adjust = "none",
comparison = "pairwise",
estimate = "average",
backend = getOption("modelbased_backend", "marginaleffects"),
p_adjust = "none",
transform = NULL,
backend = getOption("modelbased_backend", "marginaleffects"),
verbose = TRUE,
...) {
if (backend == "emmeans") {
Expand Down
2 changes: 1 addition & 1 deletion R/estimate_means.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ estimate_means <- function(model,
predict = NULL,
ci = 0.95,
estimate = "average",
backend = getOption("modelbased_backend", "marginaleffects"),
transform = NULL,
backend = getOption("modelbased_backend", "marginaleffects"),
verbose = TRUE,
...) {
# validate input
Expand Down
2 changes: 1 addition & 1 deletion R/get_marginalcontrasts.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ get_marginalcontrasts <- function(model,
contrast = NULL,
by = NULL,
predict = NULL,
ci = 0.95,
comparison = "pairwise",
estimate = "average",
ci = 0.95,
p_adjust = "none",
transform = NULL,
verbose = TRUE,
Expand Down
32 changes: 16 additions & 16 deletions man/estimate_contrasts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions man/estimate_means.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/get_emmeans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f3ff3e

Please sign in to comment.