Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread Charles C. Berry
On Wed, 11 Aug 2010, David Winsemius wrote: On Aug 11, 2010, at 6:45 PM, Charles C. Berry wrote: On Wed, 11 Aug 2010, David Winsemius wrote: > > On Aug 11, 2010, at 6:03 PM, Jarrett Byrnes wrote: > > > I have formulae with coefficents that I would like to update. However, > > I get some

Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread David Winsemius
On Aug 11, 2010, at 6:45 PM, Charles C. Berry wrote: On Wed, 11 Aug 2010, David Winsemius wrote: On Aug 11, 2010, at 6:03 PM, Jarrett Byrnes wrote: I have formulae with coefficents that I would like to update. However, I get some strange results. For example, see the following: For t

Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread Charles C. Berry
On Wed, 11 Aug 2010, David Winsemius wrote: On Aug 11, 2010, at 6:03 PM, Jarrett Byrnes wrote: I have formulae with coefficents that I would like to update. However, I get some strange results. For example, see the following: For the formula y ~ d+ 3*r+t Did you really get meaningful re

Re: [R] a question regarding updating formulas with coefficients

2010-08-11 Thread David Winsemius
On Aug 11, 2010, at 6:03 PM, Jarrett Byrnes wrote: I have formulae with coefficents that I would like to update. However, I get some strange results. For example, see the following: For the formula y ~ d+ 3*r+t Did you really get meaningful results from that formula? Care to provide an

[R] a question regarding updating formulas with coefficients

2010-08-11 Thread Jarrett Byrnes
I have formulae with coefficents that I would like to update. However, I get some strange results. For example, see the following: For the formula y ~ d+ 3*r+t I want to add a variable p, so > update(y~d+0*r+t, .~.+p) produces y ~ d + t + p - 1 If the coefficient is not 0, but rather, somet