Arguments$getIndices

0th

Percentile

Coerces to a integer vector and validates

Coerces to a integer vector and validates.

Keywords
methods, internal, IO
Usage
## Static method (use this):
## Arguments$getIndices(x, ..., max=Inf, range=c(1 * (max > 0L), max), .name=NULL)

## Don't use the below: # S3 method for Arguments getIndices(static, x, ..., max=Inf, range=c(1 * (max > 0L), max), .name=NULL)

Arguments
x

A single vector. If logical, which() is used.

...

Arguments passed to @method "getIntegers".

range

Allowed range. See @method "getNumerics" for details.

max

The maximum of the default range.

.name

A character string for name used in error messages.

Value

Returns an integer vector.

See Also

For more information see Arguments.

Aliases
  • Arguments$getIndices
  • getIndices.Arguments
  • Arguments.getIndices
  • getIndices,Arguments-method
  • Arguments.getIndex
  • getIndex.Arguments
  • getIndex,Arguments-method
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.