pivot_rate_module_UI: Generate the UI for a pivot table

Description Usage Arguments Value Examples

View source: R/pivot_rate_module.R

Description

Generate the UI for a pivot table

Usage

1
pivot_rate_module_UI(id, pivot_vars, sum_vars = "")

Arguments

id

The namespace id as a string. Can be anything but must match the corresponding namespace id of pivot_module.

pivot_vars

A tibble created by get_pivot_vars()

sum_vars

A character vector contiaining the names of numeric variables in the data to summarise by.

Value

A tag list containing the UI elements for a pivot table module

Examples

1
2
3
ui <- fluidPage(
      pivot_module_UI(id = "id1", pivot_vars = my_pivot_vars)
)

ablack3/shinyPivot documentation built on Aug. 25, 2019, 2:35 p.m.