Learn R Programming

surveillance (version 1.2-1)

sts-class: Class "sts" -- surveillance time series

Description

This is a rather leightweight class to implement multivariate time series of count used for public health surveillance data. The class captures the time series data as well as the spatial layout of the regions, where the data originate from.

Arguments

encoding

latin1

Examples

Run this code
data("ha")
  shp <- system.file("shapes/berlin.shp",package="surveillance")
  ha <- disProg2sts(ha, map=readShapePoly(shp,IDvar="SNAME"))
  plot(ha,type=observed ~ 1 | unit)

Run the code above in your browser using DataLab