Builds an identity matrix to be used as a component of the matrix linear predictor. It is in general the first component of the matrix linear predictor, a kind of intercept matrix.
mc_id(data)
data | the data set to be used. |
---|
Bonat, W. H. (2018). Multiple Response Variables Regression Models in R: The mcglm Package. Journal of Statistical Software, 84(4):1--30.
A list of matrix.
mc_dist
, mc_ma
, mc_rw
and mc_mixed
.