numeric_format: Number Conversion

numeric_formatR Documentation

Number Conversion

Description

Conversions between linear and decibel number formats

Usage

as_decibel(..., scalar = 20)

as_linear(..., scalar = 20)

Arguments

...

Number(s) to convert

scalar

Decibel conversion scalar (i.e. 10 for power, 20 for voltage/current)

Examples

as_decibel(0.45)
as_decibel(0.45, scalar = 20)
as_decibel(c(0.1,0.5,0.9))
as_linear(-6)
as_linear(-6, scalar = 20)
as_linear(c(-12,-6,-3))
gamma_to_z

aaronmanderson3/rftk documentation built on July 30, 2023, 1:19 p.m.