Learn R Programming

seewave (version 2.2.3)

meandB: Mean of dB values

Description

This function calculates the mean of dB values

Usage

meandB(x, level="IL")

Value

A numeric vector of length 1 is returned.

Arguments

x

a numeric vector or a numeric matrix.

level

intensity level ("IL") or sound pressure level ("SPL")

Author

Jerome Sueur and Zev Ross

Details

The mean of dB values is not linear. See examples.

References

Hartmann, W. M. 1998 Signals, sound and sensation. New York: Springer.

See Also

sddB, moredB, convSPL, dBweight

Examples

Run this code
meandB(c(89,90,95))

Run the code above in your browser using DataLab