Financial stress index data line chart with regions.

Share:

Description

Provides a convenience function for passing a cfsi object to xyplot with attributes as presented by the source.

Usage

1
stressIndexChart(e, range = NA, showGradeRegions = TRUE)

Arguments

e

an object of class cfsi as returned by getStressIndex.

range

a range string as used by xts to subset time series dates, e.g. "1996/1997". Defaults to NA for full range.

showGradeRegions

whether to show the stress grade regions and labels

Details

Provides several assumptions about the display of the cfsi data to correspond to similar presentations at the Cleveland Fed's data site.

See Also

xyplot.cfsi getStressIndex

Examples

1
2
3
4
5
## Not run: 
idx <- getStressIndex()
stressIndexChart(idx)

## End(Not run)