R/1.9.treatCall.R

Defines functions treatCall

treatCall <- function(call, matchedArgNames) {
  treatedCall <- call[c(1L, matchedArgNames)]
  treatedCall$drop.unused.levels <- TRUE
  treatedCall$na.action <- "na.pass"
  treatedCall[[1L]] <- quote(stats::model.frame)

  return(treatedCall)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.