Learn R Programming

bioacoustics (version 0.2.8)

to_dB: Convert to dB

Description

Convert amplitude to decibel (dB) values

Usage

to_dB(x, ref = 1)

Arguments

x

numeric. Vector of amplitude values (V1).

ref

numeric. Reference value (V0) to calculate the ratio (V1/V0).