Description Usage Arguments Value Note
Returns a subset of the object, ensuring that the resulting object is of the same class.
Extract a subset of GeoTimeseries.
1 2 3 4 5 6 7 |
obj |
an object. |
... |
further arguments passed to or from other methods. |
rows |
logical vector indicating rows to keep. No missing values are allowed. |
columns |
character vector indicating columns of the data frame to keep. Columns such as 'date', 'geo', 'period', 'geo.group' and 'assignment', if they exist, they are always included. |
An object of the same class as 'obj
'.
The arguments 'rows' and 'columns' are *not* evaluated in the environment of the columns of 'obj'; the expressions must be evaluable in the enclosing environment. This behavior is deliberately different from that of 'subset'. The original experiment configuration (periods, geo assignment, treatment assignment) is preserved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.