.flip_ind {ldamatch}R Documentation

Flips logical vector at specified indices

Description

Flips logical vector at specified indices

Usage

.flip_ind(ind, is.in)

Arguments

ind

Integer indices for the is.in logical vector.

is.in

A logical vector showing which items are preserved.

Value

A logical vector identical to is.in except for indices in ind where it is is.in negated.


[Package ldamatch version 1.0.3 Index]