tidy_logl: Compute log-likelihood values for text mining.

Description Usage Arguments Value

Description

Compute log-likelihood values for text mining.

Usage

1
tidy_logl(df, group_key, token_key, threshold = 3)

Arguments

df

A data frame (or tibble, etc.) in tidytext format

group_key

Column name of df to use for grouping of log-likelihood

token_key

Column name of df that contains tokens or n-grams

threshold

Minimum log-likelihood value (number) to include in results

Value

A data frame with columns for token, group, and ll (log-likelihood values above threshold)


zzzev/tidytlogl documentation built on May 5, 2019, 3:48 a.m.