inst/examples/shiny/dynamic_ui/ui.R

library(shiny)

ui <- bootstrapPage(div(
  class = "container-fluid",
  div(class = "row", div(
    class = "col-sm-12",
    sliderInput("n", "Number of plots", value = 3, min = 1, max = 5, step = 1L),
    uiOutput("plots")
  ))
))

Try the ggiraph package in your browser

Any scripts or data that you put into this service are public.

ggiraph documentation built on March 31, 2023, 9:53 p.m.