## Not run:
# data(kidneySimTimeGroup)
# lmmsDEtestl1 <-lmmsDE(data=kidneySimTimeGroup$data,time=kidneySimTimeGroup$time,
# sampleID=kidneySimTimeGroup$sampleID,
# group=kidneySimTimeGroup$group,
# experiment="longitudinal1",basis="p-spline",keepModels=T)
# plot(lmmsDEtestl1,y=2,type="all")
# plot(lmmsDEtestl1,y=2,type="time")
# plot(lmmsDEtestl1,y=2,type="group")
# plot(lmmsDEtestl1,y=2,type="group*time",smooth=TRUE)
#
# #to save memory do not keep the models
# lmmsDEtestl1 <-lmmsDE(data=kidneySimTimeGroup$data,time=kidneySimTimeGroup$time,
# sampleID=kidneySimTimeGroup$sampleID,
# group=kidneySimTimeGroup$group,
# experiment="longitudinal1",basis="p-spline",keepModels=F)
# # just the fitted trajectory
# plot(lmmsDEtestl1,y=2,type="all")
#
# plot(lmmsDEtestl1,y=2,type="all",data=kidneySimTimeGroup$data,time=kidneySimTimeGroup$time,
# group=kidneySimTimeGroup$group)## End(Not run)
Run the code above in your browser using DataLab