get_fw: Get the log Frequency Weight (FW) of a competitor set

View source: R/extensions.R

get_fwR Documentation

Get the log Frequency Weight (FW) of a competitor set

Description

Get the log Frequency Weight (FW) of a competitor set

Usage

get_fw(competitors_freq, pad = 0)

Arguments

competitors_freq

Numeric vector containing the frequencies of competitors (including itself)

pad

Value to add to frequencies before taking log; if your minimum frequency is 0, consider adding a value between 1 and 2; if your minimum frequency is between 0 and 1, consider adding 1

Value

FW

Examples

get_fw(c(10, 50), pad = 1)

LexFindR documentation built on June 22, 2024, 9:47 a.m.