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

Description Usage Arguments Value Examples

View source: R/extensions.R

Description

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

Usage

1
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

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

LexFindR documentation built on Oct. 29, 2021, 9:07 a.m.