Description Usage Arguments Details Note Examples
A ggplot2 equivalent of calendarPlot
1 | calendar_ggplot(data, fill, wd, ws, draw.arrow = TRUE)
|
data |
Data frame containing a |
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. |
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.
If the dates span multiple years, the year will be appended to the month name automatically, otherwise, it will not appear.
1 2 3 4 | {
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.