GGcal | ggplot for Calendar

GGcal | ggplot for Calendar

Quick start:

The graph show ahead.

library(ggplot2)
library(ggcal)

mydate <- seq(as.Date("2017-02-01"), as.Date("2017-07-22"), by="1 day")
myfills <- rnorm(length(mydate))

print(ggcal(mydate, myfills))

Installation

devtools::install_github("jayjacobs/ggcal")

Favorite theme

gg <- ggcal(mydate, myfills) +
scale_fill_gradient2(low="#4575b4", mid="#ffffbf", high="#d73027", midpoint=0)
print(gg)

Nuhcz6.png

More

Author

Karobben

Posted on

2020-06-19

Updated on

2024-01-22

Licensed under

Comments