Re: [Rd] Tiny bug in lm()?

2018-06-24 Thread Brett Presnell
I meant ncol(y) of course. Brett Presnell writes: > I suppose that this never affects anything, but in line 57 of lm.R, > where the coefficients are defined for an empty model, when y is a > matrix, shouldn't the value be matrix(,0,nrow(y)) rather than

[Rd] Tiny bug in lm()?

2018-06-24 Thread Brett Presnell
I suppose that this never affects anything, but in line 57 of lm.R, where the coefficients are defined for an empty model, when y is a matrix, shouldn't the value be matrix(,0,nrow(y)) rather than matrix(,0,3)? __ R-devel@r-project.org mailing list htt

Re: [Rd] Jazzing up the Task Views index page

2012-02-22 Thread Brett Presnell
Regardless of the page's other merits (looks nice to me), I did enjoy seeing my favorite teacher's (Dev Basu's) elephant in the Bayesian box. Thanks for that. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] ftable.formula

2012-01-27 Thread Brett Presnell
William Dunlap writes: > Put the formula first in the argument list or label > the data argument data= and put the formula after it > if you want to use the formula method for ftable. Ack! So it was a question for R-help after all. Thanks Bill, especially for being so polite about it. __

[Rd] ftable.formula

2012-01-26 Thread Brett Presnell
I apologize in advance if this is the wrong forum for this report/request, and for the fact that I have not read the code for ftable.formula in any detail. >From reading the documentation for ftable.formula, I expected that the following two calls to ftable would produce the same results: data(U

Re: [Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread Brett Presnell
s of how it's called. Peter Ehlers writes: > On 2011-05-11 07:30, peter dalgaard wrote: >> >> On May 11, 2011, at 15:10 , Brett Presnell wrote: >> >>> >>> Thanks for doing this Peter. I'll have to install the development >>> version to tr

Re: [Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread Brett Presnell
nge multiplier test). In light of this, I think that it would be much better to use test = "score" rather than test = "Rao". -- Brett Presnell Department of Statistics University of Florida http://www.stat.ufl.edu/~presnell/ "We don't think that the popularity

Re: [Rd] Standardized Pearson residuals

2011-03-18 Thread Brett Presnell
Thanks for putting in the rstandard() change Peter. I'll keep my fingers crossed that it doesn't break anything. Meanwhile, I hope that you and all the core developers will take my enormous appreciation for all that you do as implicit in any message that I send. You have changed and continue to

Re: [Rd] Standardized Pearson residuals

2011-03-17 Thread Brett Presnell
>> saturated model: Sometimes it makes sense and sometimes not.) >> >>> >>> John Maindonald email: john.maindon...@anu.edu.au >>> phone : +61 2 (6125)3473fax : +61 2(6125)5549 >>> Centre for Mathematics & Its Applications, Roo

Re: [Rd] Standardized Pearson residuals

2011-03-14 Thread Brett Presnell
Thanks Peter. I have just a couple of minor comments, and another possible feature request, although it's one that I don't think will be implemented. peter dalgaard writes: > On Mar 14, 2011, at 22:25 , Brett Presnell wrote: > >> >> Is there any reason that

Re: [Rd] Standardized Pearson residuals

2011-03-14 Thread Brett Presnell
My apologies. I guess it would help if I tried the code more than once before posting. That should have been: rstandard.glm <- function(model, infl=influence(model, do.coef=FALSE), type=c("deviance", "pearson"), ...) { type <- match.arg(type) res <- switch(type, pear

[Rd] Standardized Pearson residuals

2011-03-14 Thread Brett Presnell
Is there any reason that rstandard.glm doesn't have a "pearson" option? And if not, can it be added? Background: I'm currently teaching an undergrad/grad-service course from Agresti's "Introduction to Categorical Data Analysis (2nd edn)" and deviance residuals are not used in the text. For now I

[Rd] Edits of R-exts.texi (2nd try)

2007-02-25 Thread Brett Presnell
be it should be stated somewhere early in the document that DLL may be used to refer to both Windows DLLs and Unix shared object libraries. Of course, some might prefer to have things the other way around: isn't "shared library" more generic than "DLL"? -- Brett Presnell

Re: [Rd] Edits of R-exts.texi

2007-02-25 Thread Brett Presnell
Somehow I managed to copy an older version of my edits before running "svn diff", so please ignore my last message. I will fix this and resubmit. Sorry for the bother. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Edits of R-exts.texi

2007-02-25 Thread Brett Presnell
d object libraries. Of course, some of us might prefer to have things the other way around: isn't "shared library" more generic than "DLL"? --- Brett Presnell Department of Statistics University of Florida http://www.stat.ufl.edu/~presnell/ "We don't thi