Description
Remove tags from an R object if present, otherwise return the object
unchanged.
Usage
untag(x, ...)
"untag"(x, ...)
"untag"(x, byref = FALSE, ...)
"untag"(x, byref = FALSE, ...)
Arguments
...
not used in current version
byref
logical indicating if new object will be created by reference or
by copy of x
Value
if x
contains tag data they are removed and the "spct.tags"
atrribute 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.
Methods (by class)
-
default
: Default for generic function
-
generic_spct
: Specialization for generic_spct
-
generic_mspct
: Specialization for generic_spct