# keep examples from using more than 2 cores
data.table::setDTthreads(Sys.getenv("OMP_THREAD_LIMIT", unset = 2))
# single hue page
contrastChart(m = '10YR 3/3', hues = '10YR')
# multiple hue pages
contrastChart(m = '10YR 3/3', hues = c('10YR', '2.5Y'))
# contrast class, single hue
contrastChart(m = '10YR 3/3', hues = '10YR', style='CC')
# contrast class, multiple hues
# consider latticeExtra::useOuterStrips()
contrastChart(m = '10YR 5/6', hues = c('10YR', '2.5Y'), style='CC')
Run the code above in your browser using DataLab