Re: [R] How to split a factor (unique identifier) into several others?

2008-02-07 Thread Tribo Laboy
elgium > Tel: +32/(0)16/336899 > Fax: +32/(0)16/337015 > Web: http://med.kuleuven.be/biostat/ > http://www.student.kuleuven.be/~m0390867/dimitris.htm > > > > > - Original Message - > From: "Tribo Laboy" <[EMAIL PROT

Re: [R] How to split a factor (unique identifier) into several others?

2008-02-07 Thread Dimitris Rizopoulos
er 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "Tribo Laboy" <[EMAIL PROTECTED]> To: Sent: Thursday, February 07, 2008 7:44 AM Subject:

[R] How to split a factor (unique identifier) into several others?

2008-02-06 Thread Tribo Laboy
Hello, I have a data frame with a factor column, which uniquely identifies the observations in the data frame and it looks like this: sample1_condition1_place1 sample2_condition1_place1 sample3_condition1_place1 . . . sample3_condition3_place3 I want to turn it into three separate factor columns