create_instrument_optGroups {backtestGraphics}R Documentation

Create opt group list for selectizeInput for instruments

Description

This function accepts the sector and id columns of the data set and create a list of groups as required by the selectizeInput optgroup functionality

Usage

create_instrument_optGroups(sector, id)

Arguments

sector

sector column

id

id column

Value

a list of groups for sector/ id as required by the selectizeInput optgroup functionality


[Package backtestGraphics version 0.1.8 Index]