copy_attributes | R Documentation |
Copy attributes from x
to y
. Methods defined for spectral
and waveband objects of classes from package 'photobiology'.
copy_attributes(x, y, which, ...)
## Default S3 method:
copy_attributes(x, y, which = NULL, ...)
## S3 method for class 'generic_spct'
copy_attributes(x, y, which = NULL, which.not = NULL, copy.class = FALSE, ...)
## S3 method for class 'generic_mspct'
copy_attributes(x, y, which = NULL, which.not = NULL, copy.class = FALSE, ...)
## S3 method for class 'waveband'
copy_attributes(x, y, which = NULL, ...)
x, y |
R objects |
which |
character Names of attributes to copy, if NULL all those
relevant according to the class of |
... |
not used |
which.not |
character Names of attributes not to be copied. The
names passed here are removed from the list for |
copy.class |
logical If TRUE class attributes are also copied. |
A copy of y
with additional attributes set.
copy_attributes(default)
: Default for generic function
copy_attributes(generic_spct)
:
copy_attributes(generic_mspct)
:
copy_attributes(waveband)
:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.