Re: [Rd] "stem" does not give a correct answer (PR#9359)

2006-11-12 Thread Berwin A Turlach
G' day Myung, > "MGK" == mgkim <[EMAIL PROTECTED]> writes: MGK> For the data c1 of size 14, stem provides the following result. MGK> ** >> c1 MGK> [1] 14 39 70 11 38 20 37 15 41 74 74 34 48 51 ZZangi> stem(c1)

[Rd] "stem" does not give a correct answer (PR#9359)

2006-11-12 Thread mgkim
Full_Name: Myung Geun Kim Version: 2.4.0 OS: Window XP Submission from: (NULL) (210.110.8.105) For the data c1 of size 14, stem provides the following result. ** >c1 [1] 14 39 70 11 38 20 37 15 41 74 74 34 48 51 ZZangi>stem(c1) The

Re: [Rd] inconsistency or bug in coef() (PR#9358)

2006-11-12 Thread Benilton Carvalho
it doesn't appear to be a bug for me, given that one of your coefficients is NA due to linear dependencies on your design matrix. i prefer to think of it as a feature :-) (show only the coefficients for the variables that do not show linear dependencies). x=1:5 y=c(1:3, 7, 6) fit=lm(y~x) coef

[Rd] inconsistency or bug in coef() (PR#9358)

2006-11-12 Thread rmh
tmp <- data.frame(x=c(1,1), y=c(1,2)) tmp.lm <- lm(y ~ x, data=tmp) summary(tmp.lm) coef(summary(tmp.lm)) ## I consider this to be a bug. Since summary(tmp.lm) gives ## two rows for the coefficients, I believe the coef() function ## should also give two rows. > summary(tmp.

Re: [Rd] invert argument in grep

2006-11-12 Thread Gabor Grothendieck
invert= would be consistent with the fact that egrep (-v), sed/vi (v) and awk (~!) all have special facilities as indicated to handle such negation/inversion. On 11/12/06, Romain Francois <[EMAIL PROTECTED]> wrote: > Duncan Murdoch wrote: > > On 11/10/2006 12:52 PM, Romain Francois wrote: > >> Du

Re: [Rd] invert argument in grep

2006-11-12 Thread Romain Francois
Duncan Murdoch wrote: > On 11/10/2006 12:52 PM, Romain Francois wrote: >> Duncan Murdoch wrote: >>> On 11/9/2006 5:14 AM, Romain Francois wrote: Hello, What about an `invert` argument in grep, to return elements that are *not* matching a regular expression : R> grep("