>> I think I should be able to do this using the "reshape" function, but
>> I cannot get it to work. I think I need some help to understand
>> this...
>>
>>
>> (If I could split the "variable" into three separate columns splitting
>> by ".", that would be even better.)
>
> Use strsplit and "["

Or colsplit, from reshape, that does this for you.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to