View source: R/create_strategy_optGroups.R
create_strategy_optGroups | R Documentation |
This function accepts the strategy and substrategy columns of the data set and create a list of groups as required by the selectizeInput optgroup functionality
create_strategy_optGroups(strategy, substrategy)
strategy |
strategy column |
substrategy |
substrategy column |
We assume that substrategies pertaining to a given strategy uses the name of the strategy followed by a period and then the substrategy number. For example, substrategy 2 for strategy 1 must be named "Strategy 1.2".
a list of groups for strategy/ substrategy as required by the selectizeInput optgroup functionality
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.