ggRose: Draw an interactive Rose plot

Description Usage Arguments Value Examples

Description

Draw an interactive Rose plot

Usage

1
2
ggRose(data, xvar, fillvar, yvar = "None", ..., palette = "Reds",
  color = "black", size = 0.1)

Arguments

data

A data.frame

palette

A character string indicating the color palette

size

Bar size

colour

Bar colour

Value

An interactive Rose plot

Examples

1
2
3
4
5
6
7
8
require(moonBook)
require(ggplot2)
require(ggiraph)
ggRose(rose,Month,group,"value",interactive=TRUE)
ggRose(acs,"Dx","smoking",interactive=TRUE)
ggRose(rose,Month,group,"value",interactive=TRUE)
ggBar(rose,Month,group,"value",stat="identity",polar=TRUE,palette="Reds",width=1,
      color="black",size=0.1,interactive=TRUE)

cardiomoon/moonBook2 documentation built on May 13, 2019, 12:40 p.m.