add_summary: Plot a running 5 number summary of zika data

Description Usage Arguments Examples

Description

Plot a running 5 number summary of zika data

Usage

1
add_summary(p, data = NULL, color = "black")

Arguments

p

a plotly visualization

location

a regular expression matching the location column in the zika dataset.

a

valid R colour.

Examples

1
2
3
4
5
brazil <- dplyr::filter(zika, country == "Brazil")

plot_ly(zika, x = ~report_date) %>%
  add_summary() %>%
  add_summary(data = brazil, "red")

cpsievert/zikar documentation built on May 13, 2019, 10:55 p.m.