Skip to content
Prev 20514 / 20628 Next

reference category in varIdent function (once again)

Glad to hear that helped. Your exemplification of current varIdent 
behaviour is also helpful, thanks. I'll revisit the bug with a closer 
look next year.

In principle, it would be better for the reference level to be based on 
the factor levels, but as you say, nlme's code base is very old, which 
means many publications (implicitly) rely on the current behaviour, so 
semantics or defaults won't be changed easily. Still, bugs should be 
fixed -- and it should be possible to choose the reference level.

Best regards,

	Sebastian Meyer

PS: The getVarCov() bug that is linked in your report (to another post) 
was fixed a while ago in 2020 (nlme version 3.1-150), i.e., the 
`all.equal(V_raw, V_sorted)` tests now give TRUE. It might be worth 
noting this somewhere.


Am 29.12.24 um 22:40 schrieb James Pustejovsky: