Learn R Programming

ldamatch (version 1.0.3)

.flip_ind: Flips logical vector at specified indices

Description

Flips logical vector at specified indices

Usage

.flip_ind(ind, is.in)

Value

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

Arguments

ind

Integer indices for the is.in logical vector.

is.in

A logical vector showing which items are preserved.