View source: R/preprocessing.R
plot_outliers | R Documentation |
Plot outlying sessions
plot_outliers(
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 pass to function ggplot2::plot_point |
ggplot2 plot
library(dplyr)
sessions_outliers <- california_ev_sessions %>%
sample_frac(0.05) %>%
detect_outliers(start = 3, noise_th = 5, eps = 2.5)
plot_outliers(sessions_outliers, start = 3)
plot_outliers(sessions_outliers, start = 3, log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.