Query whether a generic spectrum has been scaled

Share:

Description

This function tests a generic_spct object for an attribute that signals whether the spectral data has been rescled or not after the object was created.

Usage

1

Arguments

x

An R object.

Value

A logical value. If x is not scaled or x is not a generic_spct object the value returned is FALSE.

See Also

Other rescaling functions: fscale, fshift, getNormalized, is_normalized, normalize, setNormalized, setScaled

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.