R/applyKinScalSpecialFun.R

"applyKinScalSpecialFun" <- function(ind, theta, parlist, spec) {
  # spec should contain an argument "functionlist"
  # and an additional list "inputs"

  inputs <- spec$inputs
  funlist <- spec$functionlist

  parvec <- parlist[[ind]]
  funx <- funlist[[ind]]
  inputsfixed <- inputs[[ind]]

  kall <- theta
  res <- funx(kall, parvec, inputsfixed)
  res
}

Try the TIMP package in your browser

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

TIMP documentation built on Dec. 28, 2022, 3:06 a.m.