getVector.Arguments: Validates a vector
Description
Validates a vector by checking its length (number of elements).Usage
Arguments$getVector(x, length=NULL, .name=NULL, ...)
Arguments
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. Value
- Returns the same
vector
, if it is valid. Otherwise an exception is
thrown.
synopsis
getVector.Arguments(static, x, length=NULL, .name=NULL, ...)