R/naresid.R

naresid.extremify <- function(omit, x, ...) {
  x[omit] <- NA
  return(x)
}

naresid.omit <- function(omit, x, ...) {
  attr(omit, "class") <- "exclude"
  x <- naresid(omit, x, ...)
  return(x)
}
  

Try the robts package in your browser

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

robts documentation built on May 2, 2019, 4:55 p.m.