Skip to content

Commit

Permalink
fix lmList4 tidier bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bbolker committed Aug 30, 2023
1 parent 2c2eaa0 commit f2a9b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/lme4_tidiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ tidy.lmList4 <- function(x, conf.int = FALSE,
dplyr::mutate(`terms` = dimnames(ss)$terms[i])
}
tmp <- dplyr::bind_rows(tmp)
tmp <- tmp[, unique(c("group", "terms"), sort(colnames(tmp)))]
tmp <- tmp[, unique(c("group", "terms", sort(colnames(tmp))))]
tmp <- tmp[order(tmp$group, tmp$terms),]
ret <- tibble::as_tibble(tmp)

Expand Down

0 comments on commit f2a9b29

Please sign in to comment.