That works! Thanks.
On Mon, Aug 15, 2011 at 5:09 PM, Bert Gunter wrote:
> Sverre:
>
> As your reproducible example shows, the problem is that the string
> "y1:y2" is not an acceptable term of the formula. One way round this
> is simply convert the non-string part of the formula to a string, pase
Sverre:
As your reproducible example shows, the problem is that the string
"y1:y2" is not an acceptable term of the formula. One way round this
is simply convert the non-string part of the formula to a string, pase
it with your term, and then reconvert it to a formula:
update(my.lm,formula(paste(
Hi all,
I'm extracting the name of the term in a regression model that
dropterm specifies as the least significant one, and I'm assigning
this name to an object. However, when I use update(), it ignores this
object. Is there a way I can make it not ignore it? A reproducible
example is below:
> lm
3 matches
Mail list logo