Skip to content
Prev 361409 / 398506 Next

Making an if condition variable ?

You need to rethink. You'll do better in the long -- and probably
short, too -- run working within the language's paradigms rather than
resisting them.

(It's not that R's paradigms are in any sense "the best"; other
languages have different paradigms and you would do better in those
languages with their paradigms rather than with R's).

For example, you could have a single function that returns the
conditional function of your choice by calling the overall function
with an appropriate keyword.  Etc.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Jun 2, 2016 at 7:50 AM, ce <zadig_1 at excite.com> wrote: