Re: [Rd] Logic Error (PR#8677)

2006-03-12 Thread Duncan Murdoch
On 3/12/2006 7:08 PM, Janusz Kawczak wrote: > However, mean(x)==0.2 returns TRUE > Also, mean(x)>=(1-0.8) returns TRUE ;) > > So, it's not just the approximation calculus. I don't get your point. On my computer, > 1-0.8 < 0.2 [1] TRUE which is consistent with what I wrote below and what you w

Re: [Rd] Logic Error (PR#8677)

2006-03-12 Thread Janusz Kawczak
However, mean(x)==0.2 returns TRUE Also, mean(x)>=(1-0.8) returns TRUE ;) So, it's not just the approximation calculus. On Sun, 12 Mar 2006, Duncan Murdoch wrote: > On 3/12/2006 6:39 PM, [EMAIL PROTECTED] wrote: > > Full_Name: Matthew Davis > > Version: 2.2.0 > > OS: OS X (10.4.5) > > Submission

Re: [Rd] Logic Error (PR#8677)

2006-03-12 Thread Duncan Murdoch
On 3/12/2006 6:39 PM, [EMAIL PROTECTED] wrote: > Full_Name: Matthew Davis > Version: 2.2.0 > OS: OS X (10.4.5) > Submission from: (NULL) (209.107.120.195) > > > the mean of my sample x is 0.2, and when I check mean(x)<=0.2 I get a TRUE > value, when I check mean(x)<=(1-0.8) I get a FALSE value.

Re: [Rd] Logic Error (PR#8677)

2006-03-12 Thread Jan de Leeuw
> 0.2==(1-0.8) [1] FALSE On Mar 12, 2006, at 15:39 , [EMAIL PROTECTED] wrote: > Full_Name: Matthew Davis > Version: 2.2.0 > OS: OS X (10.4.5) > Submission from: (NULL) (209.107.120.195) > > > the mean of my sample x is 0.2, and when I check mean(x)<=0.2 I get > a TRUE > value, when I check mea

[Rd] Logic Error (PR#8677)

2006-03-12 Thread mkdavis
Full_Name: Matthew Davis Version: 2.2.0 OS: OS X (10.4.5) Submission from: (NULL) (209.107.120.195) the mean of my sample x is 0.2, and when I check mean(x)<=0.2 I get a TRUE value, when I check mean(x)<=(1-0.8) I get a FALSE value. (x <- c(0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0

[Rd] merge.data.frame bug report (PR#8676)

2006-03-12 Thread todd
Merging data frames with no by variables does not append suffixes to column names to keep them unique. Also, shouldn't by=NULL be a legitimate way to get the "Cartesian product" of two data frames, instead of getting the error message "'by' must specify columns"? > df=data.frame(col=1:3)

Re: [Rd] Wishlist - Give R a name that shows up in search engines ...

2006-03-12 Thread Friedrich . Leisch
> On Wed, 08 Mar 2006 14:55:51 +, > Hin-Tak Leung (HL) wrote: > roger bos wrote: >> Indeed, when I was writing code in Java or VBA and I needed code, say to >> buble sort or invert a CDF, I could find many examples on the web since >> the user base was so large. R has someth

Re: [Rd] Wishlist: merge and subset to keep attributes (PR#8658)

2006-03-12 Thread Peter Dalgaard
"Ulrike Grömping" <[EMAIL PROTECTED]> writes: > > When importing data from SPSS, it is a nice feature of the package > > foreign that > > it allows (option use.value.labels=F) to work with the original SPSS > > codes while > > keeping the value labels as information in an attribute. Unfortunat

Re: [Rd] Wishlist: merge and subset to keep attributes (PR#8658)

2006-03-12 Thread Ulrike Grömping
> When importing data from SPSS, it is a nice feature of the package > foreign that > it allows (option use.value.labels=F) to work with the original SPSS > codes while > keeping the value labels as information in an attribute. Unfortunately, > after > merging or subsetting, these attributes