photobiology (version 0.9.26)

is_normalized: Query whether a generic spectrum has been normalized.

Description

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

Usage

is_normalized(x)

Arguments

x

An R object.

Value

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

See Also

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