Description Usage Arguments Value Examples
This function takes two spectra from seewave (or equivalent) and adds their values. The spectra must have the same bins.
1 | addSpectra(s1, s2, coerceNegative = "no")
|
s1 |
First spectrum |
s2 |
Second spectrum |
coerceNegative |
Sets any values below zero to zero, accepted values "input", "output" or "both". |
A spectrum of s1+s2
1 2 3 4 5 | ## Not run:
addSpectra(spec1, spec2)
addSpectra(spec1, spec2, coerceNegative="input")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.