plot_points | R Documentation |
Scatter plot of sessions
plot_points(sessions, start = getOption("evprof.start.hour"), log = FALSE, ...)
sessions |
tibble, sessions data set in evprof standard format |
start |
integer, start hour in the x axis of the plot. |
log |
logical, whether to transform |
... |
arguments to |
ggplot scatter plot
library(dplyr)
california_ev_sessions %>%
sample_frac(0.05) %>%
plot_points()
california_ev_sessions %>%
sample_frac(0.05) %>%
plot_points(start = 3)
california_ev_sessions %>%
sample_frac(0.05) %>%
plot_points(log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.