createOctaveLevel {PAMscapes} | R Documentation |
Create Octave Level Measurements
Description
Creates octave or third octave level measurements from finer resolution soundscape metrics, like Power Spectral Density (PSD) or Hybrid Millidecade (HMD) measures
Usage
createOctaveLevel(
x,
type = c("ol", "tol"),
freqRange = NULL,
method = c("sum", "mean")
)
Arguments
x |
dataframe of soundscape metrics |
type |
either |
freqRange |
a vector of the minimum and maximum center frequencies (Hz) desired
for the output. If |
method |
the summary method to apply to soundscape metrics within the octave band,
one of |
Value
a dataframe with summarised octave level band measurements
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
psd <- checkSoundscapeInput(system.file('extdata/PSDSmall.csv', package='PAMscapes'))
str(psd)
tol <- createOctaveLevel(psd, type='tol')
str(tol)
ol <- createOctaveLevel(tol, type='ol')
str(ol)
[Package PAMscapes version 0.6.0 Index]