| mc_id | R Documentation |
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. |
A list with a single component:
A sparse identity matrix of class ddiMatrix with dimension
equal to the number of observations, representing the intercept component
of the matrix linear predictor.
It 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_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.