Arguments$getVector | R Documentation |
Validates a vector by checking its length (number of elements).
## 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, ...)
x |
A single |
length |
A |
.name |
A |
... |
Not used. |
Returns the same vector
, if it is valid. Otherwise an exception is
thrown.
Henrik Bengtsson
For more information see Arguments
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.