library("shiny")
library("stringr")
shinyServer(function(input, output) {
output$sample <-
renderText({
input$submit
isolate(str_c(sample(input$min:input$max, size = input$n,
replace = input$replace),
collapse = ", "))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.