check_options_graph {telraamStats} | R Documentation |
Check if options are available in the options list, replace by a default otherwise.
Description
Check if options are available in the options list, replace by a default otherwise.
Usage
check_options_graph(options_selected, options_available, default)
Arguments
options_selected |
List of characters. Selected options. |
options_available |
List of characters. Valid options. |
default |
List of characters. Default options. |
Value
Options consistent with the possibilities
Examples
check_options_graph(c('car','pedestrian'),
c('car','pedestrian','bike','heavy'),c('car','heavy'))
check_options_graph(c('coucou','salut'),
c('car','pedestrian','bike','heavy'),c('car','heavy'))
check_options_graph(NULL,
c('car','pedestrian','bike','heavy'),c('car','heavy'))
[Package telraamStats version 1.1.2 Index]