Usage
## S3 method for class 'GLMM_MCMC':
fitted(object, x, z,
statistic=c("median", "mean", "Q1", "Q3", "2.5\%", "97.5\%"),
overall=FALSE, glmer=FALSE, nAGQ=10, x2, z2, ...)Arguments
x
matrix or list of matrices (in the case of multiple
responses) for fixed effects part of the model used in the
calculation of fitted values.
z
matrix or list of matrices (in the case of multiple
responses) for random effects part of the model used in the
calculation of fitted values.
statistic
character which specifies the posterior summary
statistic to be used to calculate fitted profiles. Default is the
posterior median. It applies only to the overall fit.
overall
logical. If TRUE, fitted profiles based on posterior
mean/median/Q1/Q3/2.5%/97.5% of the model parameters are computed.
If FALSE, fitted profiles based on posterior means
given mixture component are calculated. N
glmer
a logical value. If TRUE, the real marginal means
are calculated using Gaussian quadrature.
nAGQ
number of quadrature points used when glmer is
TRUE.
x2, z2
matrices of lists of matrices with the same structure as
x and z. They are used in the approximate calculation
when glmer is TRUE.
...
possibly extra arguments. Nothing useful at this moment.