getVector.Arguments

0th

Percentile

Validates a vector

Validates a vector by checking its length (number of elements).

Keywords
methods, internal, IO
Usage
Arguments$getVector(x, length=NULL, .name=NULL, ...)
Arguments
x
A single vector.
length
A numeric vector of length two or more. If two, it is the minimum and maximum length of x. Elsewise it is the set of possible l
.name
A character string for name used in error messages.
...
Not used.
Value

  • Returns the same vector, if it is valid. Otherwise an exception is thrown.

synopsis

getVector.Arguments(static, x, length=NULL, .name=NULL, ...)

See Also

For more information see Arguments.

Aliases
  • getVector.Arguments
  • Arguments.getVector
  • getVector.Arguments
  • getVector,Arguments-method
Documentation reproduced from package R.utils, version 1.6.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.