The goal of geomhurricane is to provide a geom for ggplot2
that plots wind
roses (for an example see Wikipedia). It provides a solution to the
final exam of a Coursera course.
There is a vignette that shortly describes how to use geom_hurricane
and
provides an answer to the exam.
units
geosphere::destPoint
) is hard coded. Wind speeds are provided in knots
and the legend of the plot is edited manually to reflect that.nautical_mile
and knot
already exist and are usable with package
units
. But ggplot2
doesn't support scales of type units
in its base
implementation.ggforce
enhances ggplot2
to support units
but I haven't
figured out how to import this feature into this package yet.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.