Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.rectangular

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

Examples

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

splus2R

Supplemental S-PLUS Functionality in R

v1.3-3
GPL-2
Authors
William Constantine [aut], Tim Hesterberg [aut], Knut Wittkowski [ctb], Tingting Song [ctb], Bill Dunlap [ctb], Stephen Kaluzny [ctb, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.