rcpp_which: rcpp_which

View source: R/RcppExports.R

rcpp_whichR Documentation

rcpp_which

Description

Rcpp which.

Usage

rcpp_which(x, y)

Arguments

x

Integer with value to find.

y

Vector with values.

Details

Returns the index of x within the y vector. The index of the first element is 0. If element is not present within y NA is returned. Returns only the first element if x is present multiple times in y.

Value

vector


Allgeier-Lab/arrR documentation built on Feb. 13, 2025, 7:44 a.m.