divlollipop: Deviation Diverging Lollipop Chart.

Description Usage Arguments Value Examples

View source: R/divlolipop.r

Description

divlollipop function will draw Diverging Lollipop Chart for Deviation analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
divlollipop(
  data,
  div.var,
  method = "mean",
  title = NULL,
  subtitle = NULL,
  xtitle = NULL,
  ytitle = NULL,
  caption = NULL
)

Arguments

data

input data.frame

div.var

diverging value variable

method

"mean" or "median"

title

main title

subtitle

subtitle

xtitle

x axis title

ytitle

y axis title

caption

caption

Value

An object of class ggplot

Examples

1
2
plot<- divlollipop(data=mtcars,div.var="mpg",method="mean")
plot

HeeseokMoon/ggedachart documentation built on Dec. 31, 2020, 12:59 p.m.