[R] Why do data frame column types vary across apply, lapply?

Erik Iverson eriki at ccbr.umn.edu
Fri Apr 30 17:52:01 CEST 2010

> See ?apply.  The apply function works on *matrices*. 

Actually arrays, and matrices are arrays with 2 dimensions.

> characters.  This is all explained in the first paragraph of ?apply.

Also see ?as.matrix

More information about the R-help mailing list