The function mc_remove_na removes NA from each
component of the matrix linear predictor. It is in general used after
the function mc_complete_data.
mc_remove_na(matrix_pred, cod)
| matrix_pred | a list of known matrices. |
|---|---|
| cod | index indicating the columns should be removed. |
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 matrices.
mc_dglm, mc_ns, mc_ma and mc_rw.