Description Usage Arguments Value Examples
Plot of the raw data the mean and the fitted lmmsde
profile.
1 2 |
x |
An object of class |
y |
|
data |
alternative |
time |
alternative |
group |
alternative |
type |
a |
smooth |
an optional |
mean |
alternative |
... |
Additional arguments which are passed to |
plot showing raw data, mean profile and fitted profile.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.