merge_attributes: Merge and copy attributes

Description Usage Arguments Value Methods (by class)

View source: R/copy.attr.R

Description

Merge attributes from x and y and copy them to z. Methods defined for spectral objects of classes from package 'photobiology'.

Usage

1
2
3
4
5
6
7
8
merge_attributes(x, y, z, which, ...)

## Default S3 method:
merge_attributes(x, y, z, which = NULL, ...)

## S3 method for class 'generic_spct'
merge_attributes(x, y, z, which = NULL,
  copy.class = FALSE, ...)

Arguments

x, y, z

R objects

which

character

...

not used

copy.class

logical If TRUE class attributes are also copied.

Value

A copy of z with additional attributes set.

Methods (by class)


photobiology documentation built on Aug. 30, 2018, 9:04 a.m.