[,sts-methods {surveillance}R Documentation

Extraction and Subsetting of "sts" Objects

Description

"["-methods, i.e., extraction or subsetting of the "sts" class in package surveillance.

Note that [<- methods (i.e. subassignments) are currently not supported.

The drop argument is always FALSE.

Examples

data("ha.sts")
haagg <- aggregate(ha.sts, nfreq=13)

plot(haagg[, 3])       # Single series
plot(haagg[1:30, 3])   # Somewhat shorter

#Counts at time 20
plot(haagg[20, ], type = observed ~ unit)

[Package surveillance version 1.16.1 Index]