Re: [R] environment of lm

2013-06-23 Thread Dave Mitchell
m: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf > > Of William Dunlap > > Sent: Sunday, June 23, 2013 1:26 PM > > To: Dave Mitchell; r-help@r-project.org > > Subject: Re: [R] environment of lm > > > > Your web site had > &g

Re: [R] environment of lm

2013-06-23 Thread William Dunlap
itly from the environment > where the > objects it uses are. > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > > Behalf &

Re: [R] environment of lm

2013-06-23 Thread William Dunlap
t.org] On > Behalf > Of Dave Mitchell > Sent: Sunday, June 23, 2013 9:32 AM > To: r-help@r-project.org > Subject: [R] environment of lm > > Hello, > I'm running into what I believe is a scoping issue having to do with the > environment in which the weights argument is ev

[R] environment of lm

2013-06-23 Thread Dave Mitchell
Hello, I'm running into what I believe is a scoping issue having to do with the environment in which the weights argument is evaluated in lm. From the lm documentation "All of weights, subset and offset are evaluated in the same way as variables in formula, that is first in data and then in the en