cardinalNumericField: Make a numeric field with selectable associated cardinality...

View source: R/accessory.R

cardinalNumericFieldR Documentation

Make a numeric field with selectable associated cardinality (>, < ..).

Description

A wrapper around numericInput, providing an inline label and an associated field specifying how the value should be applied, i.e. 'greater than this value' etc.

Usage

cardinalNumericField(
  id,
  cardinal_id,
  label,
  value,
  cardinality = "<=",
  step = NA,
  min = NA,
  max = NA
)

Arguments

id

ID to use for the numeric field

cardinal_id

ID to use for the cardinality field

label

Label

value

Default value

cardinality

Default cardinality

step

Passed to numericInput

min

Passed to numericInput

max

Passed to numericInput

Value

out An HTML tag object that can be rendered as HTML using as.character()


pinin4fjords/shinyngs documentation built on Jan. 18, 2025, 7:09 p.m.