merge_attributes {photobiology} | R Documentation |
Merge and copy attributes
Description
Merge attributes from x
and y
and copy them to z
.
Methods defined for spectral objects of classes from package 'photobiology'.
Usage
merge_attributes(x, y, z, which, which.not, ...)
## Default S3 method:
merge_attributes(x, y, z, which = NULL, which.not = NULL, ...)
## S3 method for class 'generic_spct'
merge_attributes(
x,
y,
z,
which = NULL,
which.not = NULL,
copy.class = FALSE,
...
)
Arguments
x , y , z |
R objects. Objects |
which |
character Names of attributes to copy, if NULL all those
relevant according to the class of |
which.not |
character Names of attributes not to be copied. The
names passed here are removed from the list for |
... |
not used |
copy.class |
logical If TRUE class attributes are also copied. |
Value
A copy of z
with additional attributes set.
Methods (by class)
-
merge_attributes(default)
: Default for generic function -
merge_attributes(generic_spct)
:
[Package photobiology version 0.11.2 Index]