Re: [Rd] Possible bug in termplot function (stats package) ?

From: Joris Meys <jorismeys_at_gmail.com>
Date: Mon, 06 Jun 2011 21:30:29 +0200

On Mon, Jun 6, 2011 at 9:15 PM, peter dalgaard <pdalgd_at_gmail.com> wrote:
>
> I'd say that the burden of proof is really on your side, but how hard can it be:
>
>> x <- 1:10
>> y <- rnorm(10)
>> m <- lm(y~x)
>> m$call
> lm(formula = y ~ x)
>> m$call$data
> NULL
>
I see... indeed, thx for the answer and sorry for my stupidity. Should have thought about that case. Still, I wonder why it is necessary to go look for the data in a calling environment if it should be contained in the model frame of the fitted object. Or am I again wrong in assuming that's always the case?

Cheers
Joris

-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

tel : +32 9 264 59 87
Joris.Meys_at_Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 06 Jun 2011 - 19:32:44 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 06 Jun 2011 - 21:40:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive