list.to.data {FactoClass} | R Documentation |
Modification of an object of class list
into an object of class data.frame
.
list.to.data(lista,nvar="clasif")
lista |
list that contains several data.frame of the same structure. |
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)