Learn R Programming

quantmod (version 0.4.26)

addVo: Add Volume to Chart

Description

Add Volume of a series, if available, to the current chart. This is the default TA argument for all charting functions.

Usage

addVo(log.scale=FALSE)

Value

Volume will be draw in a new window on the current chart. A chobTA object will be returned silently.

Arguments

log.scale

use log-scale for volume

Author

Jeffrey A. Ryan

Details

Add volume bars to current chart if data object contains appropriate volume column.

log.scale will transform the series via standard R graphics mechanisms.

See Also

addTA

Examples

Run this code
if (FALSE) {
addVo()
}

Run the code above in your browser using DataLab