to_dB: Convert to dB

View source: R/tools.R

to_dBR Documentation

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).


bioacoustics documentation built on Nov. 13, 2025, 9:06 a.m.