Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 6, 2024
1 parent 193a8a9 commit 16aee8f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion R/methods_brglm2.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,17 @@ model_parameters.multinom <- function(model,
exponentiate = FALSE,
p_adjust = NULL,
summary = getOption("parameters_summary", FALSE),
include_info = getOption("parameters_info", FALSE),
keep = NULL,
drop = NULL,
verbose = TRUE,
...) {
## TODO remove deprecated later
if (!missing(summary)) {
.deprecated_warning("summary", "include_info", verbose)
include_info <- summary
}

model_parameters.bracl(
model,
ci = ci,
Expand All @@ -173,7 +180,7 @@ model_parameters.multinom <- function(model,
standardize = standardize,
exponentiate = exponentiate,
p_adjust = p_adjust,
summary = summary,
include_info = include_info,
keep = keep,
drop = drop,
verbose = verbose,
Expand Down
9 changes: 8 additions & 1 deletion R/methods_fixest.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,19 @@ model_parameters.fixest_multi <- function(model,
exponentiate = FALSE,
p_adjust = NULL,
summary = getOption("parameters_summary", FALSE),
include_info = getOption("parameters_info", FALSE),
keep = NULL,
drop = NULL,
verbose = TRUE,
vcov = NULL,
vcov_args = NULL,
...) {
## TODO remove deprecated later
if (!missing(summary)) {
.deprecated_warning("summary", "include_info", verbose)
include_info <- summary
}

# iterate over responses
out <- lapply(
model,
Expand All @@ -149,7 +156,7 @@ model_parameters.fixest_multi <- function(model,
standardize = standardize,
exponentiate = exponentiate,
p_adjust = p_adjust,
summary = summary,
include_info = include_info,
keep = keep,
drop = drop,
verbose = verbose,
Expand Down
9 changes: 8 additions & 1 deletion R/methods_systemfit.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ model_parameters.systemfit <- function(model,
exponentiate = FALSE,
p_adjust = NULL,
summary = FALSE,
include_info = getOption("parameters_info", FALSE),
keep = NULL,
drop = NULL,
verbose = TRUE,
...) {
## TODO remove deprecated later
if (!missing(summary)) {
.deprecated_warning("summary", "include_info", verbose)
include_info <- summary
}

out <- .model_parameters_generic(
model = model,
ci = ci,
Expand All @@ -24,7 +31,7 @@ model_parameters.systemfit <- function(model,
p_adjust = p_adjust,
keep_parameters = keep,
drop_parameters = drop,
summary = summary,
include_info = include_info,
...
)

Expand Down

0 comments on commit 16aee8f

Please sign in to comment.