R: Checks for object rectangularity

is.rectangular {splus2R} | R Documentation

## Checks for object rectangularity

### Description

Returns TRUE if the input object is rectangular.

### Usage

    is.rectangular(x)

### Arguments

`x` | any object.

### Value

logical, returns TRUE if input object is rectangular.

### See Also

`as.rectangular`.

### Examples

    is.rectangular(matrix(1:12, nrow=3))
    is.rectangular(list(1:3,2:4))
    is.rectangular(as.rectangular(list(1:3,2:4)))

[Package splus2R version 1.2-2 Index]