getScaled: Get the "scaled" attribute

View source: R/spct.fscale.r

getScaledR Documentation

Get the "scaled" attribute

Description

Function to read the "scaled" attribute of an existing generic_spct object.

Usage

getScaled(x, .force.list = FALSE)

getScaling(x)

Arguments

x

a generic_spct object

.force.list

logical If TRUE always silently return a list, with FALSE encoded field multiplier = 1.

Value

logical

Note

if x is not a filter_spct object, NA is returned

See Also

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

Examples


scaled.spct <- fscale(sun.spct)
getScaled(scaled.spct)


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.