Determines the location, i.e., index of the first or last TRUE
value in a logical vector.
Value
integer, index of the first/last TRUE
value. integer(0) if no TRUE (everything FALSE or NA)
was found.
See also
Other helper functions for developers:
between(),
isPeaksMatrix(),
rbindFill(),
validPeaksMatrix(),
vapply1c()
