getIndices.Arguments {R.utils}R Documentation

Coerces to a integer vector and validates

Description

Coerces to a integer vector and validates.

Usage

Arguments$getIndices(x, ..., max=Inf, range=c(1 * (max > 0), 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.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see Arguments.


[Package R.utils version 1.3.2 Index]