R/initialize.R

Defines functions initialize

Documented in initialize

# Initialization function
initialize = function(initfunc, n, m, type, ...){
  func = as.character(match.call()[2])
  if(missing(type)) type=1
  dotargs = list(...)
  dotargs$n = n
  dotargs$m = m
  dotargs$type = type
  initpop=do.call(func, dotargs)
  return(initpop)
}

Try the adana package in your browser

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

adana documentation built on March 18, 2022, 6:03 p.m.