where

0th

Percentile

Return array indices where expression is true

This is a simple wrapper around which(..., arr.ind = TRUE), for use in row specifications.

Usage
where(expr)
Arguments
expr

An R expression

Value

A matrix of row and column indices of cells where expr is TRUE.

Aliases
  • where
Examples
# NOT RUN {
ht <- hux(a = 1:3, b = 4:6, add_colnames = TRUE)
where(ht > 2)
where(is_a_number(ht))

# }
Documentation reproduced from package huxtable, version 1.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.