This function helps your ggplots look professional with the choice of the two main colors that will dominate the theme
ChartTheme(Size = 12)
The size of the axis labels and title
An object to pass along to ggplot objects following the "+" sign
Other Misc: AutoH2OTextPrepScoring
,
PrintObjectsSize
, RemixTheme
,
SimpleCap
, multiplot
,
percRank
, tempDatesFun
,
tokenizeH2O
# NOT RUN {
data <- data.table::data.table(DateTime = as.Date(Sys.time()),
Target = stats::filter(rnorm(1000,
mean = 50,
sd = 20),
filter=rep(1,10),
circular=TRUE))
data[, temp := seq(1:1000)][, DateTime := DateTime - temp][, temp := NULL]
data <- data[order(DateTime)]
p <- ggplot2::ggplot(data, ggplot2::aes(x = DateTime, y = Target)) + ggplot2::geom_line()
p <- p + ChartTheme(Size = 12)
# }
Run the code above in your browser using DataLab