stressIndexChart: Financial stress index data line chart with regions.

Description Usage Arguments Details See Also Examples

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)


Search within the stressr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.