stat-rose: Rose Plot

Description Usage Arguments Format Value Examples

Description

Rose Plot

Usage

1
2
3
4
5
6
7
stat_rose(mapping = aes(), data = NULL, center = c(0, 0),
  translate.1 = NULL, trans_h.2 = NULL, trans_v.3 = NULL,
  trans_al.4 = NULL, rotate.5 = 0, zoom.6 = NULL, mirror.7 = NULL,
  mirror_h.8 = NULL, mirror_v.9 = NULL, na.rm = FALSE,
  show.legend = NA, inherit.aes = TRUE, n = 1000, round = 360, ...)

StatRose

Arguments

mapping

mapping

data

data

na.rm

na rm, defalut is FALSE

show.legend

show legend

inherit.aes

inherit aes

...

passed parameters

Format

An object of class StatRose (inherits from Stat, ggproto, gg) of length 3.

Value

ggplot2 style picture

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
set.seed(2020)
df=data.frame(r=rnorm(30))
ggplot(df)+
    stat_rose()

ggplot(df)+
    stat_rose(color='black',fill=NA)


ggplot(df)+
    stat_rose(aes(petal=r,fill=r))

yikeshu0611/ggrose documentation built on March 20, 2020, 9:56 p.m.