
Overwrite spectral data values at existing wavelength values.
Source:R/insert.hinges.r
v_replace_hinges.Rd
Overwriting spectral data with interpolated values at wavelengths values
containing bad data is needed when cleaning spectral data.
This function differs from insert_hinges()
in that it returns a vector
of y
values instead of a tibble
.
Overwriting spectral data with interpolated values at wavelengths values
containing bad data is needed when cleaning spectral data. Linear
interpolation between the two enclosing neighbours is used as replacement
values.
This function like v_insert_hinges()
returns a vector
of new y values.
Value
A numeric vector with the numeric values of y
with values
at the hinges replaced by interpolation of neighbours.
A copy of the numeric vector y
with values at the hinges
replaced by interpolation of neighbours. The lengths of x
, y
and the returned vector are the same.
See also
Other low-level functions operating on numeric vectors.:
as_energy()
,
as_quantum_mol()
,
calc_multipliers()
,
div_spectra()
,
energy_irradiance()
,
energy_ratio()
,
insert_hinges()
,
integrate_xy()
,
interpolate_spectrum()
,
irradiance()
,
l_insert_hinges()
,
oper_spectra()
,
photon_irradiance()
,
photon_ratio()
,
photons_energy_ratio()
,
prod_spectra()
,
s_e_irrad2rgb()
,
split_energy_irradiance()
,
split_photon_irradiance()
,
subt_spectra()
,
sum_spectra()
,
trim_tails()
,
v_insert_hinges()
Other low-level functions operating on numeric vectors.:
as_energy()
,
as_quantum_mol()
,
calc_multipliers()
,
div_spectra()
,
energy_irradiance()
,
energy_ratio()
,
insert_hinges()
,
integrate_xy()
,
interpolate_spectrum()
,
irradiance()
,
l_insert_hinges()
,
oper_spectra()
,
photon_irradiance()
,
photon_ratio()
,
photons_energy_ratio()
,
prod_spectra()
,
s_e_irrad2rgb()
,
split_energy_irradiance()
,
split_photon_irradiance()
,
subt_spectra()
,
sum_spectra()
,
trim_tails()
,
v_insert_hinges()