[R] 'Split' chracter

Sébastien
Sat, 24 Nov 2007 23:18:29 -0000

Dear R-users,

The following code splits a very simple dataframe into a list, each
element of the list being one line of the dataframe. You will see that
the split function names each element of the list by using uses the
content of a and b and merging them with a "." character. Is there a
way
to customize this character?

a<-1:10
b<-21:30
mydata<-data.frame(a,b)
mydata.split<-split(mydata,(mydata[,1:2]),drop=TRUE)
mydata.split

Thanks in advance for your help.

Sebastien