Learn R Programming

QuantTools (version 0.5.7.1)

hist_dt: Plot histogram of data.table by columns

Description

Plot histogram of data.table by columns

Usage

hist_dt(dt, bin_width = diff(range(dt, na.rm = TRUE))/10, coeff = 0.8,
  main = "")

Arguments

dt

data.table

bin_width

truncate data by this value

coeff

group width in [0,1]

main

plot title

See Also

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