g_init: Initial Country

Description Usage Arguments Examples

View source: R/options.R

Description

Set initially selected country

Usage

1
g_init(g, country)

Arguments

g

An object of class gior as returned by gior.

country

An ISO code of the country displayed at the center of the screen when the globe has been initialized.

Examples

1
2
3
4
5
6
data("country_data")

country_data %>%
  gior() %>%
  g_data(from, to, value) %>%
  g_init("RU")

JohnCoene/gior documentation built on March 6, 2020, 1:07 a.m.