newRadio: new radio

Description Usage Arguments Author(s)

View source: R/insert_ui.R

Description

Inserts a new shiny radio input object from the server code. Wraps the insert UI function.

Usage

1
2
3
4
newRadio(location, id, placement = "beforeEnd", label = NULL,
  choices = NULL, selected = NULL, choiceNames = NULL,
  choiceValues = NULL, inline = TRUE, hidden = FALSE,
  immediate = FALSE)

Arguments

location

The existing object that the new shiny object will be placed relative to.

id

the id of the new shiny object.

placement

Object placement relative to location object.

label

the displayed label.

choices

available options.

selected

selected option.

choiceNames

displayed names of the choices.

choiceValues

the server side value of the choices.

inline

should the choices be inline or vertical.

hidden

Should the object be hidded when created. Default = FALSE.

immediate

Should the object be created immediately. Default = FALSE.

Author(s)

Nathan Vaughan


nathanvaughan1/DST documentation built on Jan. 18, 2021, 8:40 p.m.