Arguments$getVector
From R.utils v1.23.2
by Henrik Bengtsson
Validates a vector
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
Value
- Returns the same
vector
, if it is valid. Otherwise an exception is thrown.
See Also
For more information see Arguments
.
Community examples
Looks like there are no examples yet.