gg_cal: Create a Calendar with ggplot2

Description Usage Arguments Examples

View source: R/eem.R

Description

Create a calendar with ggplot2 out of a data.frame with "dates" and "counts" columns. Uses ggplot2 and lubridate.

Usage

1
gg_cal(df, color_fill = "grey90", only_count = TRUE, title = "Calendar")

Arguments

df

data.frame with "dates" and "counts" columns.

color_fill

The color to fill date with

only_count

Show no legend (we only have pairs of 1 or 0/NA)

title

The title of the calendar

Examples

1

Eflores89/eem documentation built on June 30, 2020, 2:53 a.m.