as.rectangular | R Documentation |
Rectangular data objects include matrices, data frames, and atomic vectors.
x |
object to be converted to rectangular data. |
i |
first (row) subscript |
j |
second (column) subscript. |
as.rectangular(x)
returns x
if x
is already rectangular, or as.data.frame(x)
if it is not.
is.rectangular
.
##
as.rectangular(list(a=1:10, b=11:20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.