[,syndromicD,ANY,ANY,ANY-method | R Documentation |
Allows sub-setting of syndromic objects (syndromicD
or
syndromicW
) with all of its slots, by a start and end number of rows.
## S4 method for signature 'syndromicD,ANY,ANY,ANY' x[i, j] ## S4 method for signature 'syndromicW,ANY,ANY,ANY' x[i, j]
data(lab.daily) my.syndromicD <- raw_to_syndromicD (id=lab.daily$SubmissionID, syndromes.var=lab.daily$Syndrome, dates.var=lab.daily$DateofSubmission, date.format="%d/%m/%Y") ## create a subset that ony includes the first 10 time points ## (all the slots are trimmed from rows 1 to 10) ## note the use of "," instead of ":" subset <- my.syndromicD[1,10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.