join_optim_tbls: Read a pair of 'optim' tables and join them together

Description Usage Arguments Author(s)

View source: R/join_optim_tbls.R

Description

For a given combination of sim and para, this function will fetch the two corresponding optimisation results tables; filter out the metadata and bind them together. Also computes the log likelihood ratio along the way.

Usage

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

Arguments

sim

character, name of the simulation 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)

Théo Pannetier


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