ggRose {ggiraphExtra}R Documentation

Draw an interactive Rose plot

Description

Draw an interactive Rose plot

Usage

ggRose(data, mapping, palette = "Reds", color = "black", size = 0.1, ...)

Arguments

data

A data.frame

mapping

Set of aesthetic mappings created by aes or aes_.

palette

A character string indicating the color palette

color

Bar colour

size

Bar size

...

other arguments passed on to geom_bar_interactive.

Value

An interactive Rose plot

Examples

require(moonBook)
require(ggplot2)
require(ggiraph)
require(plyr)
ggRose(rose,aes(x=Month,fill=group,y=value),stat="identity",interactive=TRUE)
ggRose(acs,aes(x=Dx,fill=smoking),interactive=TRUE)

[Package ggiraphExtra version 0.3.0 Index]