Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

GJRM (version 0.2-6.5)

polys.setup: Set up geographic polygons

Description

This function creates geographic polygons in a format suitable for smoothing.

Usage

polys.setup(object)

Value

It produces a list with polygons (polys), and various names (names0, names1 - first level of aggregation,

names2 - second level of aggregation).

Arguments

object

An RDS file object as extracted from http://www.gadm.org.

Author

Maintainer: Giampiero Marra giampiero.marra@ucl.ac.uk

Thanks to Guy Harling for suggesting the implementation of this function.

Examples

Run this code

?hiv

Run the code above in your browser using DataLab