[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    Re: [Rd] stats::getInitial: requires the model to live in the stats namespace or above
From:       Ivan Krylov <krylov.r00t () gmail ! com>
Date:       2022-06-22 21:05:09
Message-ID: 20220623000509.53d374e8 () Tarkus
[Download RAW message or body]

On Wed, 22 Jun 2022 13:57:53 -0400
Duncan Murdoch <murdoch.duncan@gmail.com> wrote:

> On 22/06/2022 12:44 p.m., Bill Dunlap wrote:
> > Shouldn't the get()'s in stats:::getInitial.formula be looking in
> > the environment of the formula, not the environment of
> > getInitial.formula?  
> 
> Yes, that definitely looks like the right environment to use.  Ivan,
> is that what you meant by "environment(object)"?

Yes, I meant the formula by "object", following the name of
getInitial.formula's argument.

-- 
Best regards,
Ivan

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic