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.

It even does this if I use noquote(bad.var).  Any suggestions around
this?

 

Thanks!

 

John


	[[alternative HTML version deleted]]


