Skip to contents

Return a copy of an R object with its class set to a given type of spectrum.

Usage

as.generic_spct(x, ...)

# Default S3 method
as.generic_spct(x, ...)

Arguments

x

an R object

...

other arguments passed to "set" functions

Value

A copy of x converted into a generic_spct object.

Methods (by class)

  • as.generic_spct(default):