invert_indices: Indices inversion

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1

Arguments

idx

(logical, integer)

Value

object identical to idx input but with inverted values.


gogonzo/ox documentation built on Dec. 20, 2021, 12:40 p.m.