Skip to content

Commit

Permalink
Merge branch 'main' into chi2_method
Browse files Browse the repository at this point in the history
  • Loading branch information
rempsyc authored Sep 24, 2023
2 parents e4968eb + b796218 commit 1c7bb8c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions R/report.lm.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,18 @@ report_effectsize.lm <- function(x, effectsize_method = "refit", ...) {

if ("Component" %in% colnames(table)) {
merge_by <- c("Parameter", "Component")
start_col <- 4
start_col <- 4L
} else {
merge_by <- "Parameter"
start_col <- 3
start_col <- 3L
}

table <- as.data.frame(table)[c(merge_by, estimate, "CI_low", "CI_high")]
names(table)[start_col:ncol(table)] <- c(paste0(estimate, "_CI_low"), paste0(estimate, "_CI_high"))


rules <- .text_effectsize(attr(attr(interpret, "rules"), "rule_name"))
parameters <- paste0(interpretation, " (", statistics, ")")



as.report_effectsize(parameters,
summary = parameters,
table = table,
Expand Down

0 comments on commit 1c7bb8c

Please sign in to comment.