| 1 | <html> |
| 2 | |
| 3 | <head> |
| 4 | <script src="shared/jquery.min.js" type="text/javascript"></script> |
| 5 | <script src="shared/shiny.min.js" type="text/javascript"></script> |
| 6 | <link rel="stylesheet" type="text/css" href="shared/shiny.min.css"/> |
| 7 | </head> |
| 8 | |
| 9 | <body> |
| 10 | |
| 11 | <h1>HTML UI</h1> |
| 12 | |
| 13 | <p> |
| 14 | <label>Distribution type:</label><br /> |
| 15 | <select name="dist"> |
| 16 | <option value="norm">Normal</option> |
| 17 | <option value="unif">Uniform</option> |
| 18 | <option value="lnorm">Log-normal</option> |
| 19 | <option value="exp">Exponential</option> |
| 20 | </select> |
| 21 | </p> |
| 22 | |
| 23 | <p> |
| 24 | |
| 25 | <label>Number of observations:</label><br /> |
| 26 | <input type="number" name="n" value="500" min="1" max="1000" /> |
| 27 | |
| 28 | </p> |
| 29 | |
| 30 | <h3>Summary of data:</h3> |
| 31 | <pre id="summary" class="shiny-text-output"></pre> |
| 32 | |
| 33 | <h3>Plot of data:</h3> |
| 34 | <div id="plot" class="shiny-plot-output" |
| 35 | style="width: 100%; height: 300px"></div> |
| 36 | |
| 37 | <h3>Head of data:</h3> |
| 38 | <div id="table" class="shiny-html-output"></div> |
| 39 | |
| 40 | </body> |
| 41 | </html> |