read_optim_results: Read results of the model optimisation

Description Usage Arguments Author(s)

View source: R/read_optim_results.R

Description

Reads a result dataframe produced by run_optim(). The file is expedcted to be found in DDvTD/data/optim/ and have the default name computed by run_optim().

Usage

1
2
3
4
5
6
read_optim_results(
  sim,
  optim,
  para,
  init_k = get_init_k()[which(names(get_init_k()) == para)]
)

Arguments

sim

character, name of the simulation model, either "DD" or "TD".

optim

character, name of the optimisation model, either "DD" or "TD".

para

numeric, a four-digits number coding for a set of four parameter values. Refer to arg_para() doc for details, and call arg_para() to see possible inputs.

init_k

character code specifying the initial values of parameter K used in the optimisation. Refer to arg_init_k() doc for details, and call arg_init_k() to see possible inputs.

Author(s)

Theo Pannetier


TheoPannetier/DDvTDtools documentation built on Oct. 22, 2020, 2:31 p.m.