Copy attributes from x
to y
. Methods defined for spectral
and waveband objects of classes from package 'photobiology'.
copy_attributes(x, y, which, ...)# S3 method for default
copy_attributes(x, y, which = NULL, ...)
# S3 method for generic_spct
copy_attributes(x, y, which = NULL,
copy.class = FALSE, ...)
# S3 method for waveband
copy_attributes(x, y, which = NULL, ...)
R objects
character
not used
logical If TRUE class attributes are also copied.
A copy of y
with additional attributes set.
default
: Default for generic function
generic_spct
:
waveband
: