Learn R Programming

R.utils (version 2.12.3)

Assert$isVector: Static method asserting that an object is a vector

Description

Static method asserting that an object is a vector.

Usage

## Static method (use this):
## Assert$isVector(x, length=NULL, ...)

## Don't use the below: # S3 method for Assert isVector(static, x, length=NULL, ...)

Value

Returns (invisibly) TRUE, or throws an exception.

Arguments

x

Object to be checked.

length

Required length. If NULL, this is not checked.

...

Not used.

Author

Henrik Bengtsson

See Also

For more information see Assert.