Learn R Programming

photobiology (version 0.9.11)

copy_attributes: Copy attributes

Description

Copy attributes from one R object to another.

Usage

copy_attributes(x, y, which, ...)
"copy_attributes"(x, y, which = NULL, ...)
"copy_attributes"(x, y, which = NULL, copy.class = FALSE, ...)
"copy_attributes"(x, y, which = NULL, ...)

Arguments

x, y
R objects
which
character
...
not used
copy.class
logical If TRUE class attributes are also copied.

Value

A copy of y with additional attributes set.

Methods (by class)

  • default: Default for generic function
  • generic_spct:
  • waveband: