Description Usage Arguments Value Examples
Calculates the derivative information for lmmspline
objects with a "p-spline"
or "cubic p-spline"
basis.
1 2 |
expr |
An object of class |
... |
Additional arguments which are passed to |
deriv returns an object of class lmmspline
containing the following components:
predSpline |
|
modelsUsed |
|
model |
|
derivative |
|
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(kidneySimTimeGroup)
# run lmmSpline on the samples from group 1 only
G1 <- which(kidneySimTimeGroup$group=="G1")
testLMMSplineTG<- lmmSpline(data=kidneySimTimeGroup$data[G1,],
time=kidneySimTimeGroup$time[G1],
sampleID=kidneySimTimeGroup$sampleID[G1],
basis="p-spline",keepModels=T)
testLMMSplineTGDeri <- deriv(testLMMSplineTG)
summary(testLMMSplineTGDeri)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.