make_ts_plot: Create a Time Series of Obesity Rates

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Create a Time Series of Obesity Rates

Usage

1
2
3
4
5
6
7
8
make_ts_plot(
  .year = 2010,
  .sex = NULL,
  .highlight_country = "Canada",
  .year_range = list(1975, 2016),
  .income = NULL,
  .region = NULL
)

Arguments

.year

The year input callback (integer vector)

.sex

The sex group callback (scalar character)

.highlight_country

The countries we want to highlight (character vector)

.year_range

The year range input callback (integer vector)

.income

The income group callback (character vector)

.region

The region input callback (character vector)

Value

A plotly object.

Examples

1

UBC-MDS/obesity-explorer-R documentation built on Feb. 7, 2021, 4:37 a.m.