pickerValues {vvshiny}R Documentation

pickerValues function

Description

Function to create a picker input for filtering value.

Usage

pickerValues(
  id,
  df,
  variable = "faculty",
  role = "left",
  selected = "All",
  multiple = TRUE
)

Arguments

id

A string representing the id of the input element.

df

A data frame containing the data.

variable

A string representing the variable to filter. Default is "faculty".

role

A string representing the role. Default is "left".

selected

The selected value. Default is "All".

multiple

A boolean indicating whether multiple selections are allowed. Default is TRUE.

Value

A pickerInput object.


[Package vvshiny version 0.1.1 Index]