R/f.catch0.R

Defines functions f.catch0

f.catch0 <- function(mcall, defaults){
## EXTRACT CALL
.mcall <- lapply(mcall[-1], function(x) eval.parent(x, 4))
#
## STANDARD haplin DEFAULTS
.defaults.hap <- formals(haplin0)
#
## OVERRIDE STANDARD haplin DEFAULTS
.defaults.hap[names(defaults)] <- defaults
#
## CHECK CALL FOR CONSISTENCY, SET OTHER DEFAULTS, ETC.
.info <- f.check.pars0(.mcall, .defaults.hap)
#####################
#
##
return(.info)
}

Try the Haplin package in your browser

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

Haplin documentation built on May 20, 2022, 5:07 p.m.