read_yn | R Documentation |
Prompt user for a yes or no answer Prompt the user for a yes or no answer, and repeat until an acceptable response is entered
read_yn(display_text)
display_text |
character string, the text to be displayed at the prompt. |
character, either 'y' or 'n'. Uppercase responses are converted to lowercase.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.