Removes row/column with missing values or zeros.

remove_NA(object, ...)
remove_zero(object, ...)
# S4 method for matrix
remove_NA(object, margin = 1, finite = TRUE)
# S4 method for data.frame
remove_NA(object, margin = 1, finite = TRUE)
# S4 method for matrix
remove_zero(object, margin = 1)
# S4 method for data.frame
remove_zero(object, margin = 1)

## Arguments

object |
A `matrix` or `data.frame` . |

... |
Currently not used. |

margin |
An `integer` giving the subscripts which the
cleaning will be applied over (\(1\) indicates rows, \(2\) indicates
columns). |

finite |
A `logical` scalar: should non-`finite`
values also be removed? |

## Author

N. Frerebeau