list.to.data | R Documentation |
Modification of an object of class list
into an object of class data.frame
.
list.to.data(lista,nvar="clasif")
lista |
|
nvar |
(Optional) Name of the new variable that considers the partition given by the elements of the list. |
This function turns an object of class list
into an object of class data.frame
, this function is
used internally to create objects of class data.frame to make tables in LaTeX format.
Object of class data.frame.
Pedro Cesar Del Campo pcdelcampon@unal.edu.co
A <- data.frame(r1=rnorm(5),r2=rnorm(5))
B <- data.frame(r1=rnorm(15),r2=rnorm(15))
LL <- list(A=A,B=B)
LL
list.to.data(LL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.