radio_buttons_server: Radio button module Server

Description Usage Arguments Value

View source: R/radio_buttons.R

Description

A radio button module UI that can accept dynamic inputs on the server-side declaration

Usage

1
2
3
4
5
6
7
8
9
radio_buttons_server(
  input,
  output,
  session,
  label = "Store: ",
  choices = c(Transaction = "transaction_store", Primary = "primary_store"),
  inline = T,
  selected = "transaction_store"
)

Arguments

input

list of inputs used in the shiny application session

output

list of outputs used the shiny application session

session

The shiny app session object

label

The label of the radionButtons function. Converted to reactive later for enabling encapsulation

choices

The choices of the radionButtons function.

inline

The option to show the selection inline for the radionButtons function.

selected

The option selected for the radionButtons choices.

Value

Numeric or Character. Radio buttons selected value


HarryRosen/hrimodules documentation built on Jan. 11, 2022, 12:36 a.m.