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 of a diagonal matrices, whose values are given by the covariates assumed to describe the covariance structure.
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.