powered by
Check matrix dimensions
check_matrix_dims( M, nrow = NULL, ncol = NULL, arg = as.character(substitute(M)) )