invert_indices {ox}R Documentation

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.


[Package ox version 0.1.0 Index]