make_position_indicator: make position indicator

View source: R/utils.R

make_position_indicatorR Documentation

make position indicator

Description

make position indicator

Usage

make_position_indicator(posvec, target, which_or_ind = "which")

Arguments

posvec

vector of positions

target

position to flag

which_or_ind

Whether to return the INDEX values, or a vector of length posvec with 0/1 indicators. Default (which)


anthonyshook/dfsOptimizer documentation built on Jan. 4, 2023, 11:36 a.m.