b_area_spline: Add area spline

Description Usage Arguments Examples

Description

Add an area spline.

Usage

1
b_area_spline(p, serie, name = NULL, stack = FALSE, axis = "y")

Arguments

p

an object of class billboard.

serie

column of values to plot.

name

name of serie.

stack

set to stack.

axis

axis to plot on, see examples.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
mtcars %>%
  b_board() %>%
  b_area_spline(mpg)

mtcars %>%
  b_board() %>%
  b_area_spline(mpg, stack = TRUE) %>%
  b_area_spline(drat, stack = TRUE)

mtcars %>%
  b_board() %>%
  b_area_spline(mpg) %>%
  b_area_spline(drat, axis = "y2")

JohnCoene/billboard documentation built on May 14, 2019, 2:39 p.m.