Hi

That is quite usual. Excel is so widespread that almost everybody assumes it 
shall not contain mistakes and behaves correctly. The contrary is true. 
Spreadsheet often guess what user have on mind and "corrects" values to fit 
such assumption, let aside mistakes in coded functions.

R expects it is used by clever and able people and performs just what you tell 
it to do, not more not less.

So whenever result does not fit your expectations, first proof your 
expectations.

Regards
Petr

> -----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 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
> 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
> 
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/problem-
> with-factor-levels-tp4652006p4652019.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.

______________________________________________
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