as.rectangular: Covnert to rectangular object

Description Arguments Value See Also Examples

Description

Rectangular data objects include matrices, data frames, and atomic vectors.

Arguments

x

object to be converted to rectangular data.

i

first (row) subscript

j

second (column) subscript.

Value

as.rectangular(x) returns x if x is already rectangular, or as.data.frame(x) if it is not.

See Also

is.rectangular.

Examples

1
2
## 
as.rectangular(list(a=1:10, b=11:20))

splus2R documentation built on May 30, 2017, 4:10 a.m.