getYes | R Documentation |
Display a message prompt with "Yes" and "No" buttons.
getYes(message, title="Choice", icon="question")
message |
message to display in prompt window. |
title |
title of prompt window. |
icon |
icon to display in prompt window; options are
|
Returns TRUE
if the "Yes" button is clicked, FALSE
if the "No" button is clicked.
Anisa Egeli, Vancouver Island University, Nanaimo BC
showAlert
, getChoice
, chooseWinVal
## Not run:
local(envir=.PBSmodEnv,expr={
if(getYes("Print the number 1?"))
print(1) else print("hallucination")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.