[R] how to specify uncorrelated random effects in nlme::lme()

王震 w@ngzh597 @end|ng |rom m@||2@@y@u@edu@cn
Mon Jan 8 12:43:04 CET 2024


Dear professor,


I'm using package nlme, but I can't find a way to specify two uncorrelated random effects. For example, a random intercept and a random slope. In package lme4, we can specify x + (x ll g) to realize, but how in nlme?


Thanks!








 ————————————————————————
 Zhen Wang
 Graduate student, Department of Medical Statistics, School of Public Health, Sun Yat-sen University
E-mail: wangzh597 using mail2.sysu.edu.cn
王震
中山大学公共卫生学院医学统计学系2022级硕士研究生
	[[alternative HTML version deleted]]



More information about the R-help mailing list