On Tue, 16 May 2006, Kerpel, John wrote:
> I'm trying to update a model using:
>
> form <- substitute(.~.-bad.var, list(bad.var=bad.var))
> model.update<-update(model, form)
>
> where bad.var is a character string like lag(X1, 10)
>
> The problem is that substitute puts lag(X1, 10) in quotes - some
Hi folks!
I'm trying to update a model using:
form <- substitute(.~.-bad.var, list(bad.var=bad.var))
model.update<-update(model, form)
where bad.var is a character string like lag(X1, 10)
The problem is that substitute puts lag(X1, 10) in quotes - something I
don't want it to do.