Usage
normalize(x, ...)
## S3 method for class 'default':
normalize(x, ...)
## S3 method for class 'source_spct':
normalize(x, ..., range = NULL, norm = "max",
unit.out = getOption("photobiology.radiation.unit", default = "energy"))
## S3 method for class 'response_spct':
normalize(x, ..., range = NULL, norm = "max",
unit.out = getOption("photobiology.radiation.unit", default = "energy"))
## S3 method for class 'filter_spct':
normalize(x, ..., range = NULL, norm = "max",
qty.out = getOption("photobiology.filter.qty", default = "transmittance"))
## S3 method for class 'reflector_spct':
normalize(x, ..., range = NULL, norm = "max",
qty.out = NULL)
## S3 method for class 'raw_spct':
normalize(x, ..., range = NULL, norm = "max")
## S3 method for class 'cps_spct':
normalize(x, ..., range = NULL, norm = "max")
## S3 method for class 'generic_spct':
normalize(x, ..., range = NULL, norm = "max",
col.names)
## S3 method for class 'source_mspct':
normalize(x, ..., range = NULL, norm = "max",
unit.out = getOption("photobiology.radiation.unit", default = "energy"))
## S3 method for class 'response_mspct':
normalize(x, ..., range = NULL, norm = "max",
unit.out = getOption("photobiology.radiation.unit", default = "energy"))
## S3 method for class 'filter_mspct':
normalize(x, ..., range = NULL, norm = "max",
qty.out = getOption("photobiology.filter.qty", default = "transmittance"))
## S3 method for class 'reflector_mspct':
normalize(x, ..., range = x, norm = "max",
qty.out = NULL)
## S3 method for class 'raw_mspct':
normalize(x, ..., range = x, norm = "max")
## S3 method for class 'cps_mspct':
normalize(x, ..., range = x, norm = "max")
Arguments
...
not used in current version
range
An R object on which range()
returns a numeric vector of
length 2 with the limits of a range of wavelengths in nm, with min annd max
wavelengths (nm)
norm
numeric Normalization wavelength (nm) or character string "max",
or "min" for normalization at the corresponding wavelngth, or "integral" or
"mean" for rescaling by dividing by these values.
unit.out
character Allowed values "energy", and "photon",
or its alias "quantum"
qty.out
character string Allowed values are "transmittance", and
"absorbance" indicating on which quantity to apply the normalization.
col.names
character vector containing the names of columns or
variables to which to apply the normalization.