mjs_hist: Shortcut for plotting MetricsGraphics histograms
Description
This function performs the call to mjs_plot and assumes
data is a numeric vector. It's intended to save keystrokes
when plotting quick histograms. This function automatically a y
axis label "Frequency" which you can override with a call to
mjs_labs.
Usage
mjs_hist(data, bins = NULL, bar_margin = 1)
Arguments
data
numeric vector
bins
number of bins for the histogram (NULL == let MetricsGraphcis.js library compute)