forked from Lchiffon/REmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremap.Rd
40 lines (36 loc) · 973 Bytes
/
remap.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/remap.r
\name{remap}
\alias{remap}
\title{Create an remap object}
\usage{
remap(mapdata, title = "", subtitle = "", theme = get_theme("Dark"))
}
\arguments{
\item{mapdata}{a data frame including depart and destination
in each column}
\item{title}{a character string of the title}
\item{subtitle}{a character string of the subtitle}
\item{theme}{a list object created by get_theme,control
the color of the map.}
}
\value{
An remap object
}
\description{
remap use a data frame create a remap object
which can be used by plot to see the map by browser
}
\details{
mapdata should be a dataframe which including two columns,
the first column is depart, second column is destination.
}
\examples{
set.seed(125)
out = remap(demoC,title = "REmap",subtitle = "theme:Dark")
plot(out)
summary(out)
}
\author{
Chiffon <\url{http://lchiffon.github.io}>
}