Learn R Programming

photobiology (version 0.10.9)

getNormalized: Get the "normalized" attribute

Description

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

Usage

getNormalized(x, .force.numeric = FALSE)

getNormalised(x, .force.numeric = FALSE)

getNormalization(x)

getNormalisation(x)

Arguments

x

a generic_spct object

.force.numeric

logical If TRUE always silently return a numeric value, with FALSE encoded as zero, and character values as NA.

Value

numeric or logical (possibly character for objects created with earlier versions).

See Also

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

Examples

Run this code
# NOT RUN {
sun_norm.spct <- normalize(sun.spct)

getNormalized(sun.spct)
getNormalization(sun.spct)

# }

Run the code above in your browser using DataLab