Learn R Programming

teal.widgets (version 0.5.1)

panel_group: Panel group widget

Description

[Deprecated]
Designed to group panel_item elements. Used to handle shiny inputs in the encoding panel.

Usage

panel_group(..., id = NULL)

Value

(shiny.tag)

Arguments

...

(shiny.tag)
panels created by panel_group()

id

optional, (character)

Examples

Run this code

library(shiny)
panel_group(
  panel_item(
    title = "Display",
    collapsed = FALSE,
    checkboxGroupInput(
      "check",
      "Tables display",
      choices = LETTERS[1:3],
      selected = LETTERS[1]
    ),
    radioButtons(
      "radio",
      label = "Plot type",
      choices = letters[1:2],
      selected = letters[1]
    )
  ),
  panel_item(
    title = "Pre-processing",
    radioButtons(
      "filtering",
      "What to filter",
      choices = LETTERS[1:4],
      selected = LETTERS[1]
    ),
    radioButtons(
      "na_action",
      "NA action",
      choices = letters[1:3],
      selected = letters[1]
    )
  )
)

Run the code above in your browser using DataLab