Learn R Programming

ldamatch (version 1.0.3)

.choose_most_frequently_chosen_subject_from_subject_tuples: Chooses best one(s) of a set of subjects having the best p-value(s).

Description

Used as first parameter of .search_heuristic_with_lookahead. It chooses subject(s) for removal: the most frequently removed one(s); among those, it prefers the one with the lowest p-value, then chooses randomly among the remaining ones.

Usage

.choose_most_frequently_chosen_subject_from_subject_tuples(
  is.in,
  best_sets,
  look,
  condition,
  covariates,
  halting_test,
  thresh,
  tiebreaker,
  props,
  prefer_test,
  max_removed_per_cond,
  max_removed_in_next_step,
  ratio_for_slowdown,
  remove_best_only,
  print_info
)

Arguments

Value

The table of counts for the chosen indices within is.in.