userQuery | R Documentation |
This function will output a given message and seek a response from the user, repeating the message until the input is from a valid set provided by the code.
userQuery(msg, allowed = c("y", "n"), default = "n", case.sensitive = FALSE)
msg |
The output message |
allowed |
Allowed input from the user |
default |
Default response if called in batch mode |
case.sensitive |
Is the response case sensitive? Defaults to
|
The input from the user
Jeff Gentry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.