Adrian Baddeley writes:

> I want to manipulate a formula object, containing the name "."
> so that "." is replaced by a desired (arbitrary) expression.

How about

myf <- y ~ .
update(myf, . ~ -. + X)

-- 
HTH,
Bjørn-Helge Mevik

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to