plot_lr: Plot log-LR distribution for DD & TD trees

Description Usage Arguments Author(s)

View source: R/plot_lr.R

Description

Produces the log-LR distribution for all trees sharing the same parameter set, as Fig. 3 in Pannetier et al. (2020)

Usage

1
2
3
4
5
6
plot_lr(
  para,
  init_k = get_init_k()[which(names(get_init_k()) == para)],
  plot_thresholds = TRUE,
  quant_range = c(0, 1)
)

Arguments

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.

plot_thresholds

logical, should threshold bars be plotted with the distribution?

quant_range

a length-2 numeric vector, the quantiles defining the range of values to be plotted

Author(s)

Théo Pannetier


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