Learn R Programming

RemixAutoML (version 0.11.0)

RemixTheme: RemixTheme function is a ggplot theme generator for ggplots

Description

This function adds the Remix Theme to ggplots

Usage

RemixTheme()

Arguments

Value

An object to pass along to ggplot objects following the "+" sign

See Also

Other Misc: AutoH2OTextPrepScoring, ChartTheme, PrintObjectsSize, SimpleCap, multiplot, percRank, tempDatesFun, tokenizeH2O

Examples

Run this code
# 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 + RemixTheme()
# }

Run the code above in your browser using DataLab