Skip to content
Prev 363595 / 398502 Next

How to split a data.frame into its columns?

Need to re-read the "Introduction to R". Data frames ARE lists of columns. So to convert a matrix to a list of vectors use

as.data.frame( m )