untag | R Documentation |
Remove tags from an R object if present, otherwise return the object unchanged.
untag(x, ...)
## Default S3 method:
untag(x, ...)
## S3 method for class 'generic_spct'
untag(x, byref = FALSE, ...)
## S3 method for class 'generic_mspct'
untag(x, byref = FALSE, ...)
x |
an R object. |
... |
ignored (possibly used by derived methods). |
byref |
logical indicating if new object will be created by reference or by copy of x |
if x
contains tag data they are removed and the "spct.tags"
attribute is set to NA
, while if x
has no tags, it is not
modified. In either case, the byref argument is respected: in all cases if
byref = FALSE
a copy of x
is returned.
untag(default)
: Default for generic function
untag(generic_spct)
: Specialization for generic_spct
untag(generic_mspct)
: Specialization for generic_spct
Other tagging and related functions:
is_tagged()
,
tag()
,
wb2rect_spct()
,
wb2spct()
,
wb2tagged_spct()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.