Re: [R] dot in formula

From: Bjørn-Helge Mevik <bhx2_at_mevik.net>
Date: Fri 03 Jun 2005 - 18:09:08 EST

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
Received on Fri Jun 03 18:13:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:22 EST