select_best: Return empirically best prediction model

View source: R/select.R

select_bestR Documentation

Return empirically best prediction model

Description

Return empirically best prediction model

Usage

select_best(
  comparison,
  mode = c("weighted", "min"),
  threshold = c(0.5, 0.5),
  regu = 1,
  break_ties = TRUE,
  ...
)

Arguments

comparison

SEPM.comparison

mode

character, "weighted" or "min"

threshold

numeric, length corresponds to number of subgroups

regu

numeric, regularization parameter

break_ties

logical, default: TRUE

...

further arguments (currently ignored)

Value

a vector of selected model indices


maxwestphal/SEPM documentation built on April 12, 2024, 12:09 a.m.