[R] Converting data frame to array?

Thomas Petzoldt thpe at hhbio.wasser.tu-dresden.de
Fri May 28 22:55:16 CEST 2004


TAPO (Thomas Agersten Poulsen) wrote:


> 	Is there a way to convert the data frames into arrays, or am I
> going the wrong way about this?

This is possible, but the behaviour depends on the datatype, e.g. 
numeric or character. Simply look for ?as.matrix or ?as.array

Thomas P.




More information about the R-help mailing list