Rdapply(x, ...)
Rdtagapply(object, FUN, rdtag, classes = "character", how = "replace",
...)
rattr(x, y)Rd_tag attribute
is rdtag.x, see `Details'.rapply, see `Details'.rapply,
see `Details'.rapply,
see `Details'.Rdapply works like rapply but preserves the attributes
of x and (recursively) any sublists of it. Rdapply
first calls rapply, passing all arguments to it. Then it
restores recursively the attributes by calling rattr.
Note that the object returned by rapply is assumed to have
identical structure to the original object. This means that argument
how of rapply must not be "unlist" and normally will be
"replace". Rdtagapply gives sensible default values for
classes and how. See the documentation of
rapply for details and the possible choices for
classes, how or other arguments passed to it via
....
Rdtagapply is a convenience variant of Rdapply for the
common task of modifying or examining only elements with a given
Rd_tag attribute. Since the Rd equation macros rattr is an auxilliary function which takes two Rd objects
(with identical structure) and recursively examines them. It makes the
attributes of any lists in the first argument identical to the
corresponding attributes in the second.Rdapply, an Rd object with some of its leaves replaced as
specified above.
For rattr, the object x with attributes of any list
elements of it set to the corresponding attributes of y.Rdtagapply to
f, which is its name in rapply.rapply