Learn R Programming

shinyga (version 0.1.2.9001)

metricSelect: metricSelect - creates a selection of which metric

Description

Creates a select box with GA metrics. Metric var then available in input$

Usage

metricSelect(inputId = "metric_choice")

Arguments

inputId
The id of the input. Then available in input$.

Value

A shinydashboard function that generates necessary HTML.

See Also

Other shiny macro functions: authDropdownRow; doSegmentMacro; renderAuthDropdownRow

Examples

Run this code
## Not run: 
#  ## ui.r
# 
#  library(shinydashboard)
#  dashboardBody(authDropdownRow(),
#                metricSelect())
#          ## End(Not run)

Run the code above in your browser using DataLab