team_1: Plot a country shape with .shp file.

Description Usage Arguments Value Examples

Description

Plot a country shape with .shp file.

Usage

1
team_1(file, tolerance = 0.1)

Arguments

file

The name of the file which the data are to be read from. The file should be in shp format.

tolerance

The tolerance level to be used in thinning the origninal data. The default value is 0.1. The original data usually is too large to run. Larger tolerance value makes the data thinner.

Value

A list includes a vector of country name, a vector of the states name, and a data frame of the polygon longitudes and latitudes.

Examples

1
#Find the the path "fp" of your own shp file, then call team_1(fp) or team_(fp, 0.2)

yuchenw2015/Team6 documentation built on May 9, 2019, 1:12 a.m.