R/substitute.na.R

Defines functions substitute.na

#this function takes a object and substitutes the NA's with a given level
substitute.na <- function(what,level){
  what[which(is.na(what))] <- level
}
wolass/anareg documentation built on May 4, 2019, 9:46 a.m.