Learn R Programming

dampack (version 1.0.0)

wrapper_of_user_model: Wrapper function for owsa_det and twsa_det

Description

Wrapper function for owsa_det and twsa_det

Usage

wrapper_of_user_model(
  x,
  user_fun,
  param_name,
  tmp_input,
  tmp_replace,
  progress_bar = NULL,
  param_counter = NULL,
  nsamp = NULL
)

Arguments

x

iteration

user_fun

FUN input from users

param_name

user-defined list of parameters of interest

tmp_input

basecase values

tmp_replace

values from predetermined DSA samples that will replace some values in tmp_input

Value

output of function defined by user_fun