R/missing_fun.R

Defines functions missing_fun

missing_fun <- function(xi,vi){
  
  if(missing(xi)){ # If the variable is missing, input a default value
    xi <- vi
  }
  
  return(xi)
}
Nuniemsis/Siane documentation built on Sept. 10, 2017, 11:18 p.m.