[R] apply block of if statements with menu function
rl at openmailbox.org
rl at openmailbox.org
Mon Sep 15 16:51:12 CEST 2014
On 2014-09-15 14:22, David L Carlson wrote:
> I think switch() should work for you here, but it is not clear how
> much flexibility you are trying to have (different tests based on the
> first response; different tests based on first, then second response;
> different tests based on each successive response).
>
Yes, different tests are to be written dependent upon the first
response.
More information about the R-help
mailing list