Description Usage Arguments Value Examples

Get the log Frequency Weighted Competitor Probability (FWCP)

1 |

`target_freq` |
Frequency of target word |

`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 |

`add_target` |
Boolean; set to TRUE if you want the target frequency added to the denominator; only do this if the target is not already included in the competitor set (e.g., if the target is in the lexicon, it will be captured as its own neighbor, its own cohort, etc.) |

log FWCP

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.