Nothing
Provides a switch-case construct for 'R', as it is known from other programming languages. It allows to test multiple, similar conditions in an efficient, easy-to-read manner, so nested if-else constructs can be avoided. The switch-case construct is designed as an 'R' function that allows to return values depending on which condition is met and lets the programmer flexibly decide whether or not to leave the switch-case construct after a case block has been executed.
Package details |
|
---|---|
Author | Joachim Zuckarelli [aut, cre] (<https://orcid.org/0000-0002-9280-3016>) |
Maintainer | Joachim Zuckarelli <joachim@zuckarelli.de> |
License | GPL-3 |
Version | 0.1.1 |
URL | https://github.com/jsugarelli/switchcase/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.