panel_group: Panel group widget

View source: R/panel_group.R

panel_groupR Documentation

Panel group widget

Description

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

Usage

panel_group(..., id = NULL)

Arguments

...

(shiny.tag)
panels created by panel_group()

id

optional, (character)

Value

(shiny.tag)

Examples


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]
    )
  )
)


teal.widgets documentation built on April 4, 2025, 2:17 a.m.