Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 27, 2024
1 parent b9646d9 commit f2344c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/demean.R
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,9 @@ degroup <- function(x,
)

# we allow disaggregating level-specific effects for cross-classified multilevel
# models (see Guo et al. 2024), but only for two levels right now. More levels
# may already work, but need to check the formula from the paper and validate
# models (see Guo et al. 2024). Two levels should work as proposed by the authors,
# more levels also already work, but need to check the formula from the paper
# and validate results

if (length(by) == 1) {
# simple case: one level
Expand Down

0 comments on commit f2344c8

Please sign in to comment.