American-Institutes-for-Research / EdSurvey

https://american-institutes-for-research.github.io/EdSurvey/
GNU General Public License v2.0
9 stars 8 forks source link

Unable to use relevels for mixed.sdf. #78

Open atkirakosian opened 1 month ago

atkirakosian commented 1 month ago

Struggling to set up a reference group for my MLMs.

Be able to use relevels from the lm.sdf function in the mixed.sdf function.

I tried doing something akin to this:

model1<-mixed.sdf(formula=..., data=..., weightVars=..., 
     lm.sdf::relevels=list(dsex="female",variable2="Not at all"))
summary(model1)

I think I also tried EdSurvey::relevels. However, neither approach worked.

[edited by PB to remove template.]

pdbailey0 commented 1 month ago

Thanks for the report, this is a clearly stated request for enhancement.