Arguments$getVector {R.utils} | R Documentation |
Validates a vector
Description
Validates a vector by checking its length (number of elements).
Usage
## Static method (use this):
## Arguments$getVector(x, length=NULL, .name=NULL, ...)
## Don't use the below:
## S3 method for class 'Arguments'
getVector(static, x, length=NULL, .name=NULL, ...)
Arguments
x |
A single |
length |
A |
.name |
A |
... |
Not used. |
Value
Returns the same vector
, if it is valid. Otherwise an exception is
thrown.
Author(s)
Henrik Bengtsson
See Also
For more information see Arguments
.
[Package R.utils version 2.13.0 Index]