Create an interactive app
1 | create_app(html_file, user_function = identity, insert_socket = T)
|
html_file |
Filepath to a HTML file; the web interface. |
user_function |
R function; the function to process the data from the web interface. |
insert_socket |
T or F; whether to enable interaction between JS and R. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.