photobiology (version 0.11.2)

getScaled: 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)

Value

logical

Arguments

x

a generic_spct object

.force.list

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

See Also

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

Examples

Run this code

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

Run the code above in your browser using DataLab