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)

Arguments

data

the data set to be used.

Source

Bonat, W. H. (2018). Multiple Response Variables Regression Models in R: The mcglm Package. Journal of Statistical Software, 84(4):1--30.

Value

A list of matrix.

See also

mc_dist, mc_ma, mc_rw and mc_mixed.