Learn R Programming

backtestGraphics (version 0.1.8)

create_instrument_optGroups: 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)

Value

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

Arguments

sector

sector column

id

id column