Learn R Programming

nextGenShinyApps (version 2.1)

checkboxInput: Create an advanced checkbox input

Description

Modifications to checkboxinput to allow added styles

Usage

checkboxInput(inputId, label, value = FALSE, width = NULL, inline = FALSE)

Value

HTML elements of a checkbox

Arguments

inputId

The identification name

label

The label for the input

value

The current value of the input

width

width of the text input

inline

make inline or block format

Examples

Run this code
        checkboxInput("somevalue", "Some value", FALSE)
        checkboxInput("somevalue", "Some value", value = FALSE, inline = TRUE)
        checkboxInput("somevalue", "Some value", FALSE)


Run the code above in your browser using DataLab