[R] NextMethod in boxcox

Bert Gunter gunter.berton at gene.com
Thu Feb 13 23:59:37 CET 2014


Have you tried:

?NextMethod

?

-- Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch




On Thu, Feb 13, 2014 at 2:17 PM, Gene Leynes <gleynes+r at gmail.com> wrote:
> I was trying to understand the boxcox function in MASS to get a better
> understanding of where and how the log-Likelihood values are calculated.
>
> By using "debug(boxcox)" I found this code while running the examples:
>
>>     m <- length(lambda)
>>     object <- lm(object, y = TRUE, qr = TRUE, ...)
>>     result <- NextMethod()
>
>
> Can someone tell me how this is optimizing the values for Lambda?  I'm
> assuming that it has something to do with the qr decomposition that happens
> in lm?
>
>
> Thank you,
>
> Gene
>
>
>
>
> Notes and disclaimers:
>
>    - Yes, I read the help for NextMethod and boxcox.
>    - I don't think my OS / R / MASS versions are relevant but if you must
>    know I happen to be on Windows 8 right now and using R version 3.0.2
>    (2013-09-25) -- "Frisbee Sailing", Platform: x86_64-w64-mingw32/x64
>    (64-bit).  MASS version is 7.3-29.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list