This method subsets a TravelSurvey object by given age, sex, year, or location. Note that all arguments must be of type character (in line with TravelSurvey class object definition).
1 2 | ## S4 method for signature 'TravelSurvey,character,ANY'
x[i]
|
x |
A TravelSurvey object |
i |
A character object representing the age, sex, year, or location on which to subset |
... |
Additional arguments of type character on which to subset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.