adjust_candidates: Adjust Data Table with Candidate Elements for Elimination

Description Usage Arguments Value

View source: R/adjust_candidates.R

Description

Adjusts positions of all candidates for elimination in data.table after removing a candidate (due to the fact, that the positions may shift).

Usage

1
adjust_candidates(cand, cand_top_idx)

Arguments

cand

data.table with candidates for elimination given by their position indices.

cand_top_idx

numeric position index of candidate to be removed.

Value

data.table candidates after any adjustments to position indices of candidates.


trimmer documentation built on Dec. 19, 2019, 5:07 p.m.