Learn R Programming

QuantTools (version 0.5.7.1)

add_last_values: Add last values marks to the right of active time series plot

Description

Add last values marks to the right of active time series plot

Usage

add_last_values(data, ylim, col)

Arguments

data

data.frame or data.table object of plotted data

ylim

user specified range of data

col

same as in plot_ts

Details

Used in plot_ts internally.

See Also

Other graphical functions: add_legend, distinct_colors, empty_plot, hist_dt, lines_ohlc, lines_stacked_hist, multi_heatmap, plot_table, plot_ts