polys.setup: Set up geographic polygons

Description Usage Arguments Value Author(s) Examples

View source: R/polys.setup.r

Description

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

Usage

1
polys.setup(object)

Arguments

object

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

Value

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

Author(s)

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

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

Examples

1
?hiv

KironmoyDas/KD-STAT0035-GMupdate documentation built on Feb. 15, 2021, 12:17 a.m.