| w {np} | R Documentation |
w computes indices where x == TRUE.
w(x)
x |
an array of logical values |
w accepts an array of type logical and returns
an array of indices where x == TRUE. If x contains no
TRUE entries, NULL is returned.
an array of indices where x == TRUE.
Tristen Hayfield hayfietj@mcmaster.ca, Jeffrey S. Racine racinej@mcmaster.ca
x <- rnorm(100) w(x > 1.0)