Set the "normalized" and "normalization" attributes
Function to write the "normalized" attribute of an existing generic_spct object.
setNormalized( x, norm = FALSE, norm.type = NA_character_, norm.factors = NA_real_, norm.cols = NA_character_, norm.range = rep(NA_real_, 2) ) setNormalised( x, norm = FALSE, norm.type = NA_character_, norm.factors = NA_real_, norm.cols = NA_character_, norm.range = rep(NA_real_, 2) )
x |
a generic_spct object. |
norm |
numeric (or logical) Normalization wavelength (nanometres). |
norm.type |
character Type of normalization applied. |
norm.factors |
numeric The scaling factor(s) so that dividing the spectral values by this factor reverts the normalization. |
norm.cols |
character The name(s) of the data columns normalized. |
norm.range |
numeric The wavelength range used for normalization (nm). |
If x
is not a generic_spct
object, x
is not
modified. Passing a logical
as argument to norm
is deprecated
but kept for backwards compatibility.
setNormalised()
is a synonym for this setNormalized()
method.
Other rescaling functions:
fscale()
,
fshift()
,
getNormalized()
,
getScaled()
,
is_normalized()
,
is_scaled()
,
normalize()
,
setScaled()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.