team_5: team_5

Description Usage Arguments Value Examples

Description

Function for Lab3 using Lab2 Team5 function

Usage

1
team_5(file,tolerance)

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
fpath <- system.file("extdata","gadm36_AUS_1.shp",package="Lab3R")
team_5(fpath,0.1)

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