Description Usage Arguments Value Author(s) See Also
Keep the 'label' attribute on an R object when subsetting. loosen.labels allows the 'label'
attribute to be lost again.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | keep.labels(x, ...)
## S3 method for class 'data.frame'
keep.labels(x, ...)
## Default S3 method:
keep.labels(x, ...)
## S3 method for class 'keep_labels'
x[...]
## S3 replacement method for class 'keep_labels'
x[i] <- value
loosen.labels(x, ...)
## S3 method for class 'data.frame'
loosen.labels(x, ...)
## Default S3 method:
loosen.labels(x, ...)
 | 
| x | An R object | 
| ... | Other arguments (not in use at this time). | 
| i, value | See  | 
A copy of x with a "keep_labels" class appended on or removed. Note that for the data.frame method,
only classes on the columns are changed; the data.frame won't have an extra class appended. This is different from previous
versions of arsenal.
Ethan Heinzen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.