regressogram {jmcm} | R Documentation |
Plot Sample Regressograms and Fitted Curves
Description
Plot the sample regressograms based on the sample covariance matrix and superimpose the corresponding fitted curves to check the model fitting when the longitudinal dataset is balanced.
Usage
regressogram(object, time)
Arguments
object |
a fitted joint mean covariance model of class "jmcmMod", i.e., typically the result of jmcm(). |
time |
a vector of obeservation time points |
Examples
cattleA <- cattle[cattle$group=='A', ]
fit.mcd <- jmcm(weight | id | I(ceiling(day/14 + 1)) ~ 1 | 1, data=cattleA,
triple = c(8, 3, 4), cov.method = 'mcd')
regressogram(fit.mcd, time = 1:11)
[Package jmcm version 0.2.4 Index]