[R] Odp: better way to trick data frame structure?

2010-05-05 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 05.05.2010 07:49:25: Hi, I have a data frame where 1 variable is a factor with only 1 level. I need the data frame structure to reflect that there are 2 levels for this factor, even though this is not the case. I am currently adding extra

Re: [R] Odp: better way to trick data frame structure?

2010-05-05 Thread Seth
Thanks, works beautifully and saved hours of run time. -seth -- View this message in context: http://r.789695.n4.nabble.com/better-way-to-trick-data-frame-structure-tp2130470p2130486.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] Odp: better way to trick data frame structure?

2010-05-05 Thread Jim Lemon
On 05/05/2010 04:02 PM, Petr PIKAL wrote: ... Not at all lying. That is why hated factors are useful. Lust add all desired levels. Hey, isn't this a family mailing list? Jim __ R-help@r-project.org mailing list