| [.records | R Documentation |
Ensures the records class (and its attributes) is only retained when
the columns they point to are still present after subsetting. This covers
base R subsetting (x[...]), which does not go through dplyr's
dplyr_reconstruct machinery.
## S3 method for class 'records'
x[i, j, ..., drop]
x |
an object used to select a method |
i |
row index |
j |
column index |
... |
further arguments passed to or from other methods |
drop |
logical, whether to simplify to a vector when selecting a single column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.