remap: Create an remap object

Description Usage Arguments Details Value Author(s) Examples

View source: R/remap.r

Description

remap use a data frame create a remap object which can be used by plot to see the map by browser

Usage

1
remap(mapdata, title = "", subtitle = "", theme = get_theme("Dark"))

Arguments

mapdata

a data frame including depart and destination in each column

title

a character string of the title

subtitle

a character string of the subtitle

theme

a list object created by get_theme,control the color of the map.

Details

mapdata should be a dataframe which including two columns, the first column is depart, second column is destination.

Value

An remap object

Author(s)

Chiffon <http://lchiffon.github.io>

Examples

1
2
3
4
set.seed(125)
out = remap(demoC,title = "REmap",subtitle = "theme:Dark")
plot(out)
summary(out)

Lchiffon/REmap documentation built on Dec. 14, 2019, 11:43 p.m.