Re: [Rd] CHAR(STRING_ELT( - OK but CHAR(asChar(STRING_ELT( - not, why?

2007-07-24 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Mon, 23 Jul 2007 13:22:16 +0100 (BST) writes: BDR> I think you are asking why calling asChar on a CHARSXP gives NA_STRING. BDR> In particular, the calls you mention *are* perfectly OK and work as BDR> intended.

[Rd] Changes in the MEMSS package (data sets from Pinheiro and Bates, 2000, without the groupedData classes)

2007-07-24 Thread Douglas Bates
Some time ago Deepayan and I created a package called MEMSS for the data sets from the nlme package as data frames but not groupedData objects. Because of advances that Deepayan has made in lattice graphics many of the specialized plotting methods for the groupedData objects are no longer needed.

Re: [Rd] Changes in the MEMSS package (data sets from Pinheiro and Bates, 2000, without the groupedData classes)

2007-07-24 Thread Gabor Grothendieck
Does this include datasets such as CO2 and ChickWeight which are in the datasets package? Could you post a list of the specific datasets you are referring to so there is no confusion what this is about. On 7/24/07, Douglas Bates <[EMAIL PROTECTED]> wrote: > Some time ago Deepayan and I created a

Re: [Rd] Changes in the MEMSS package (data sets from Pinheiro and Bates, 2000, without the groupedData classes)

2007-07-24 Thread Douglas Bates
On 7/24/07, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Does this include datasets such as CO2 and ChickWeight > which are in the datasets package? > Could you post a list of the specific datasets you are referring to > so there is no confusion what this is about. I am only referring to the d

Re: [Rd] Changes in the MEMSS package (data sets from Pinheiro and Bates, 2000, without the groupedData classes)

2007-07-24 Thread Gabor Grothendieck
On a related note CO2 and ChickWeight in datasets have nlme specific attributes so either those datasets themselves should be moved to nlme or the nlme specific attributes removed in datasets as well. On 7/24/07, Douglas Bates <[EMAIL PROTECTED]> wrote: > On 7/24/07, Gabor Grothendieck <[EMAIL PRO

Re: [Rd] dict package: dictionary data structure for R

2007-07-24 Thread Henrik Bengtsson
On 7/23/07, Seth Falcon <[EMAIL PROTECTED]> wrote: > Bill Dunlap <[EMAIL PROTECTED]> writes: > > With environments, if you use a prime number for the size > > you get considerably better results. E.g., > > > Perhaps new.env() should push the requested size up > > to the next prime by default. > >

Re: [Rd] dict package: dictionary data structure for R

2007-07-24 Thread Martin Maechler
> "HenrikB" == Henrik Bengtsson <[EMAIL PROTECTED]> > on Tue, 24 Jul 2007 18:58:04 +0200 writes: HenrikB> On 7/23/07, Seth Falcon <[EMAIL PROTECTED]> wrote: >> Bill Dunlap <[EMAIL PROTECTED]> writes: >> > With environments, if you use a prime number for the size >> > yo

[Rd] Accuracy of qt for df=1 (PR#9804)

2007-07-24 Thread mwelinder
Full_Name: Morten Welinder Version: 2.2.0 OS: Linux Submission from: (NULL) (216.223.241.229) The qt function for df=1 is implemented as... q = - tan((P+1) * M_PI_2); Adding 1 kills accuracy for P near 0. A better way is to use q = cot(P * M_PI_2); or q = 1/tan(P * M_PI_2); ___