| wl_stepsize {photobiology} | R Documentation |
Function that returns the range of step sizes in an object. Range of differences between successive sorted values.
wl_stepsize(x, ...) stepsize(x, ...) ## Default S3 method: stepsize(x, ...) ## S3 method for class 'numeric' stepsize(x, ...) ## S3 method for class 'generic_spct' stepsize(x, ...) ## S3 method for class 'generic_mspct' stepsize(x, ..., idx = !is.null(names(x)))
x |
an R object |
... |
not used in current version |
idx |
logical whether to add a column with the names of the elements of spct |
A numeric vector of length 2 with min and maximum stepsize values.
default: Default function usable on numeric vectors.
numeric: Method for numeric vectors.
generic_spct: Method for "generic_spct" objects.
generic_mspct: Method for "generic_mspct" objects.
Other wavelength summaries: wl_midpoint,
wl_min, wl_range
stepsize(sun.spct) wl_stepsize(sun.spct) stepsize(sun.spct)