[R] formula argument evaluation
Richard M. Heiberger
rmh at temple.edu
Tue Apr 12 17:20:47 CEST 2016
Would making it regular function %=>%, using "%" instead of quotes,
work for you?
On Tue, Apr 12, 2016 at 11:09 AM, Adrian Dușa <dusa.adrian at unibuc.ro> wrote:
> On Tue, Apr 12, 2016 at 2:08 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
>> It never gets to evaluating it. It is not a legal R statement, so the
> parser signals an error.
>> If you want to pass arbitrary strings to a function, you need to put them
> in quotes.
> I see. I thought it was parsed inside the function, but if it's parsed
> before then quoting is the only option.
> To Keith: no, I mean it like this "A + B => C" which is translated as:
> "the union of A and B is sufficient for C" in set theoretic language.
> The "=>" operator means sufficiency, while "<=" means necessity. Quoting
> the expression is good enough, I was just curious if the quotes could be
> made redundant, somehow.
> Thank you both,
> Adrian Dusa
> University of Bucharest
> Romanian Social Data Archive
> Soseaua Panduri nr.90
> 050663 Bucharest sector 5
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help