[R] something equivalent to "switch" condition
Rolf Turner
r.turner at auckland.ac.nz
Wed Apr 1 21:43:33 CEST 2009
On 2/04/2009, at 8:37 AM, Jason Rupert wrote:
>
> Is there any syntax in R that allows a "switch"-type condition to
> be used?
>
> switch(variable){
> case CONSTANT_VALUE;
> break;
>
> default:
> break;
> }
?switch
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
More information about the R-help
mailing list