mkshaw / r2mlm

r2mlm: R Package for Calculating R-Squared in Multilevel Models
27 stars 1 forks source link

Specifying random effects in non-cluster-mean-centered models #60

Open jason-struck opened 1 year ago

jason-struck commented 1 year ago

In the documentation for r2mlm3_manual(), both Tau2_noncmc and Tau3_noncmc say, to be entered in the order listed by randomcovsl2_noncmc.

However, randomcovsl2_noncmc is not an argument in this function, though I see it in the source.

Furthermore, shouldn't they pull from different sets of random effects? Tau2_noncmc from randomcovsl2_noncmc, and Tau3_noncmc from randomcovsl3_noncmc?