areastack: Trend Stacked Area Chart.

Description Usage Arguments Value Examples

View source: R/areastack.R

Description

areastack function will draw Stacked Area Chart for Trend analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
areastack(
  data,
  time,
  value1,
  value2,
  title = NULL,
  subtitle = NULL,
  xtitle = NULL,
  ytitle = NULL,
  caption = NULL
)

Arguments

data

input data.frame

time

time variable

value1

value1 variable

value2

value2 title

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<- areastack(data=as.data.frame(economics),time="date",value1="psavert",value2="uempmed")
plot

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