inputdlg | R Documentation |
Replicates the functionality of the homonymous function in Matlab (sans dialog box)
inputdlg(prompt, dims = 1, definput = NULL)
prompt |
Text field with user instructions |
dims |
number of dimensions in the answwers |
definput |
default value of the input |
A user prompt
## Not run: name <- inputdlg("Type your name") paste("Hello,", name) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.