Re: [R] problem with factor levels

2012-12-04 Thread PIKAL Petr
r-help-bounces@r- > project.org] On Behalf Of Jeremy.Shearman > Sent: Tuesday, December 04, 2012 10:38 AM > To: r-help@r-project.org > Subject: Re: [R] problem with factor levels > > Oh, your skepticism was spot on! > I was using excel to check the output (silly, but I am still in the >

Re: [R] problem with factor levels

2012-12-04 Thread Jeremy.Shearman
Oh, your skepticism was spot on! I was using excel to check the output (silly, but I am still in the process of moving from excel to R) and there was a discrepancy in the number of output from R and excel. Turns out the problem was with excel and not with R at all. That's a relief. SOLVED -- V

Re: [R] problem with factor levels

2012-12-04 Thread PIKAL Petr
Hi > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Jeremy.Shearman > Sent: Tuesday, December 04, 2012 9:35 AM > To: r-help@r-project.org > Subject: [R] problem with factor levels > > Hi >

Re: [R] problem with factor levels

2012-12-04 Thread Milan Bouchet-Valat
Le mardi 04 décembre 2012 à 00:34 -0800, Jeremy.Shearman a écrit : > Hi > I have a data.frame with 371,718 obs. of 12 variables (see below for > an str). My problem is with V1, a Factor w/ 93144 levels, there should > actually be 93994 levels. Each entry looks like: > comp[number]_c[number]_s

[R] problem with factor levels

2012-12-04 Thread Jeremy.Shearman
Hi I have a data.frame with 371,718 obs. of 12 variables (see below for an str). My problem is with V1, a Factor w/ 93144 levels, there should actually be 93994 levels. Each entry looks like: comp[number]_c[number]_seq[number] for example comp215489_c0_seq40 R is grouping as though the last n