R/rmNA.R

Defines functions rmNA

rmNA <- function(x) {
  as.data.frame(x[apply(
    x, 1,
    function(x) {
      !all(is.na(x))
    }
  ), , drop = FALSE])
}

Try the xRing package in your browser

Any scripts or data that you put into this service are public.

xRing documentation built on April 22, 2022, 5:05 p.m.