team_1: Function from Lab2 Team1

Description Usage Arguments Value Examples

Description

Function from Lab2 Team1

Usage

1
2
team_1(file = system.file("extdata", "gadm36_AUS_1.shp", package =
  "Lab3R"), tolerance = 0.1)

Arguments

file

A path to the .shp file of a selected country. Default value is Australia.

tolerance

A numeric number of thinning parameter. Default value is 0.1.

Value

A dataframe for plotting the map of the selected country (with longitude, latitude, and grouping indeces of states/provinces).

Examples

1
2
3
file = system.file("extdata", "gadm36_AUS_1.shp", package = "Lab3R")
tolerance = 0.1
team_1(file = file, tolerance = tolerance)

MinZhang95/Lab-3 documentation built on May 9, 2019, 2:35 p.m.