plot_density_3D: Density plot in 3D, considering Start time and Connection duration as variables
Description
Density plot in 3D, considering Start time and Connection duration as variables
Usage
plot_density_3D(
sessions,
start = getOption("evprof.start.hour"),
eye = list(x = -1.5, y = -1.5, z = 1.5),
log = FALSE
)Arguments
- sessions
tibble, sessions data set in evprof
standard format.
- start
integer, start hour in the x axis of the plot.
- eye
list containing x, y and z points of view. Example: list(x = -1.5, y = -1.5, z = 1.5)
- log
logical, whether to transform ConnectionStartDateTime and
ConnectionHours variables to natural logarithmic scale (base = exp(1)).
Examples
Run this codelibrary(dplyr)
california_ev_sessions %>%
sample_frac(0.05) %>%
plot_density_3D(start = 3)
Run the code above in your browser using DataLab