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)

Arguments

matrix_pred

a list of known matrices.

cod

index indicating the columns should be removed.

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 matrices.

See also

mc_dglm, mc_ns, mc_ma and mc_rw.