disProg2sts: Convert disProg object to sts and vice versa

Description Usage Arguments Value See Also Examples

Description

A small helper function to convert a disProg object to become an object of the S4 class sts and vice versa. In the future the sts should replace the disProg class, but for now this function allows for conversion between the two formats.

Usage

1
2
   disProg2sts(disProgObj, map=NULL)
   sts2disProg(sts)

Arguments

disProgObj

object of class disProg

map

SpatialPolygonsDataFrame object containing the map visualization

sts

Object of class sts to convert

Value

an object of class sts or disProg, respectively.

See Also

sts-class

Examples

1
2
3

jimhester/surveillance documentation built on May 19, 2019, 10:33 a.m.