get_fw {LexFindR}R 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)

[Package LexFindR version 1.1.0 Index]