| mc_dglm | R Documentation |
The function mc_dglm builds the components
of the matrix linear predictor used for fitting double generalized
linear models.
mc_dglm(formula, id, data)
formula |
a formula spefying the components of the covariance structure. |
id |
name of the column (string) containing the subject index. (If ts is not repeated measures, use id = 1 for all observations). |
data |
data set. |
A list containing diagonal matrices with entries defined by the
covariates assumed to describe the matrix linear predictor.
Each matrix corresponds to one component of the covariance model and
is intended to be supplied to the matrix_pred argument of
mcglm.
Wagner Hugo Bonat, wbonat@ufpr.br
Bonat, W. H. (2018). Multiple Response Variables Regression Models in R: The mcglm Package. Journal of Statistical Software, 84(4):1–30.
mc_id, mc_dist, mc_ma, mc_rw
and mc_mixed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.