calendar_ggplot: ggplot2 version of calendar plot

Description Usage Arguments Details Note Examples

Description

A ggplot2 equivalent of calendarPlot

Usage

1
calendar_ggplot(data, fill, wd, ws, draw.arrow = TRUE)

Arguments

data

Data frame containing a date column

fill

The column to fill the calendar plot.

wd, ws

Optional wind speed and wind direction plotted as arrows.

draw.arrow

Should the wind vector arrows be drawn. This is better turned off if the plot is going to be converted to plotly.

Details

Note that the ggplot2 object returned will not have any scale defined for the fill, so that can be added to the returned ggplot2 object.

Note

If the dates span multiple years, the year will be appended to the month name automatically, otherwise, it will not appear.

Examples

1
2
3
4
{


}

MohoWu/utilr documentation built on May 9, 2019, 2 a.m.