{{ headContent() }} {{ bootstrapLib() }}

HTML template example

Control panel

{{ sliderInput(inputId = "year", label = "Years included", min = 1952, max = 2007, value = c(1952, 2007), sep = "", step = 5) }} {{ checkboxInput("linear", label = "Add trend line?", value = FALSE) }}
{{ plotOutput("trend") }}

For more information about Shiny look at the documentation.


If you wish to write some code you may like to use the pre() function like this:

checkboxInput("linear", label = "Add trend line?", value = FALSE)