Density plot in 3D, considering Start time and Connection duration as variables
Source:R/exploration.R
plot_density_3D.Rd
Density plot in 3D, considering Start time and Connection duration as variables
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
andConnectionHours
variables to natural logarithmic scale (base =exp(1)
).
Examples
library(dplyr)
california_ev_sessions %>%
sample_frac(0.05) %>%
plot_density_3D(start = 3)