aggregate_spectra: Aggregates spectral and data information

Description Usage Arguments Details Value Author(s)

Description

Aggregates spectral and data information of a Spectra object using a user-defined function.

Usage

1

Arguments

obj

an object inheriting from class Spectra

fun

an aggregation function

...

expressions evaluated in the context of fun

Details

Aggregates the spectral information of a Spectra object using an aggregation function chosen by the user.If some data is also present, it is aggregated using the same function.

Value

An object of the same class as obj

Author(s)

Pierre Roudier pierre.roudier@gmail.com


pierreroudier/specstore documentation built on May 25, 2019, 6:09 a.m.