####=========================================####
#### For CRAN time limitations most lines in the
#### examples are silenced with one '#' mark,
#### remove them and run the examples using
#### command + shift + C |OR| control + shift + C
####=========================================####
# you need to install the orthopolynom library to do random regression models
# library(orthopolynom)
# data(DT_legendre)
# DT <- DT_legendre
# mRR2<-mmes(Y~ 1 + Xf
# , random=~ vsm(usm(leg(X,1)),ism(SUBJECT))
# , rcov=~units
# , data=DT)
# summary(mRR2)$varcomp
Run the code above in your browser using DataLab