[,sts-methods {surveillance} | R Documentation |
"sts"
Objects"["
-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
.
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)