Learn R Programming

evprof (version 1.1.2)

plot_histogram: Histogram of a variable from sessions data set

Description

Histogram of a variable from sessions data set

Usage

plot_histogram(sessions, var, binwidth = 1)

Value

ggplot plot

Arguments

sessions

tibble, sessions data set in evprof standard format.

var

character, column name to compute the histogram for

binwidth

integer, with of histogram bins

Examples

Run this code
plot_histogram(california_ev_sessions, "Power", binwidth = 2)
plot_histogram(california_ev_sessions, "Power", binwidth = 0.1)

Run the code above in your browser using DataLab