Dear list members,

is anyone aware of a (simple) strategy to prevent update() from
introducing parentheses around a conditional rhs of a formula
when updating, e.g., only its lhs? Simple example:

update( y ~ a|b, log(.) ~ .)

gives log(y) ~ (a | b), but I want/need log(y) ~ a | b


I do know how to extract various components of a formula and how to
"re-build" formulae from such single components, but I would like to
avoid that.

 Thx for any hint  --  Gerrit

---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eich...@math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32109            http://www.uni-giessen.de/eichner

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to