reflector_spct
or in an object_spct
.reflectance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'default':
reflectance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'reflector_spct':
reflectance(spct, w.band = NULL,
quantity = "average", wb.trim = getOption("photobiology.waveband.trim",
default = TRUE), use.hinges = getOption("photobiology.use.hinges", default =
NULL), ...)
## S3 method for class 'object_spct':
reflectance(spct, w.band = NULL, quantity = "average",
wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
use.hinges = getOption("photobiology.use.hinges", default = NULL), ...)
## S3 method for class 'reflector_mspct':
reflectance(spct, w.band = NULL,
quantity = "average", wb.trim = getOption("photobiology.waveband.trim",
default = TRUE), use.hinges = getOption("photobiology.use.hinges", default =
NULL), ..., idx = !is.null(names(spct)))
## S3 method for class 'object_mspct':
reflectance(spct, w.band = NULL,
quantity = "average", wb.trim = getOption("photobiology.waveband.trim",
default = TRUE), use.hinges = getOption("photobiology.use.hinges", default =
NULL), ..., idx = !is.null(names(spct)))
default
: Default for generic functionreflector_spct
: Specialization for reflector_spctobject_spct
: Specialization for object_spctreflector_mspct
: Calculates reflectance from areflector_mspct
object_mspct
: Calculates reflectance from aobject_mspct
reflectance(black_body.spct, waveband(c(400,700)))
reflectance(white_body.spct, waveband(c(400,700)))
Run the code above in your browser using DataLab