polys.setup: Set up geographic polygons

View source: R/polys.setup.r

polys.setupR Documentation

Set up geographic polygons

Description

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

Usage


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


?hiv


GJRM documentation built on Oct. 25, 2024, 5:07 p.m.