stat_spoke(mapping = NULL, data = NULL, geom = "segment",
position = "identity", ...)
aes
or aes_string
. Only needs to be set
at the layer level if you are overriding the plot defaults.qplot(x, y, data=df) + stat_spoke(aes(angle=angle), radius = 0.5) last_plot() + scale_y_reverse()
qplot(x, y, data=df) + stat_spoke(aes(angle=angle, radius=speed))