Learn R Programming

ox (version 0.1.0)

invert_indices: Indices inversion

Description

Inverts the indices to select the rest. For example when idx is logical then [!idx], if integer then [-idx]

Usage

invert_indices(idx)

Arguments

idx

(logical, integer)

Value

object identical to idx input but with inverted values.