Skip to content

Commit 156ff55

Browse files
committed
rename index
1 parent 1164790 commit 156ff55

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/report.lm.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ report_table.lm <- function(x, include_effectsize = TRUE, ...) {
211211
)
212212
if (!is.null(effsize)) {
213213
new_attrs <- attributes(effsize)$ci
214-
for (x in seq_along(new_attrs)) {
215-
if (!is.na(names(new_attrs)[x])) {
216-
attr(out, names(new_attrs)[x]) <- new_attrs[x]
214+
for (idx in seq_along(new_attrs)) {
215+
if (!is.na(names(new_attrs)[idx])) {
216+
attr(out, names(new_attrs)[idx]) <- new_attrs[idx]
217217
}
218218
}
219219
}

0 commit comments

Comments
 (0)