metricSelect: metricSelect - creates a selection of which metric

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
metricSelect(inputId = "metric_choice")

Arguments

inputId

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

Value

A shinydashboard function that generates necessary HTML.

See Also

Other shiny macro functions: authDropdownRow; doSegmentMacro; renderAuthDropdownRow

Examples

1
2
3
4
5
6
7
8
## Not run: 
 ## ui.r

 library(shinydashboard)
 dashboardBody(authDropdownRow(),
               metricSelect())
         
## End(Not run)

MarkEdmondson1234/shinyga documentation built on May 7, 2019, 3:34 p.m.