Learn R Programming

R.utils (version 1.29.8)

Assert$isVector: Static method asserting thatan object is a vector

Description

Static method asserting thatan object is a vector.

Usage

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

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

Arguments

x
Object to be checked.
length
Required length. If NULL, this is not checked.
...
Not used.

Value

  • Returns (invisibly) TRUE, or throws an exception.

See Also

For more information see Assert.