Learn R Programming

photobiology (version 0.9.6)

copy_attributes: Copy attributes

Description

Copy attributes from one R object to another.

Usage

copy_attributes(x, y, which, ...)

## S3 method for class 'default':
copy_attributes(x, y, which = NULL, ...)

## S3 method for class 'generic_spct':
copy_attributes(x, y, which = NULL, ...)

## S3 method for class 'waveband':
copy_attributes(x, y, which = NULL, ...)

Arguments

x, y
R objects
which
character
...
not used

Value

  • A copy of y with additional attributes set.

Methods (by class)

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