Jack Tanner <ihok <at> hotmail.com> writes:

> > b = quote(b==3)
> 
> Now I want to append "&& x > 2" to the value of b. How do I do that?

Never mind, I figured it out:

substitute(b && x > 2, list(b=b))

______________________________________________
R-help@r-project.org mailing list
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