add_summary: Plot a running 5 number summary of zika data

Description Usage Arguments Examples

View source: R/utils.R

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 Aug. 13, 2017, 7:38 a.m.