plot_hist: Plot Histogram

Description Usage Arguments Examples

View source: R/plot_hist.R

Description

Plot a single histogram

Usage

1
2
3
4
5
6
7
8
plot_hist(
  df,
  cont_var,
  bins = 10,
  fill = tidyquant::palette_light()[[3]],
  colour = "white",
  interactive = FALSE
)

Arguments

cont_var

A continuous variable to plot.

bins

A numeric scalar. Number of bins for histograms.

fill

A character scalar. Fill colour for histogram bars.

colour

A character scalor. Colour for outline of bars

data

A tibble.

Examples

1

PsychlytxTD/fht documentation built on July 4, 2020, 5:42 p.m.