Skip to contents

Generate pairwise correlations for a term of interest.

Usage

moment_correlations(df, text_var, term, n_corr = 20)

Arguments

df

A dataframe where each row is a separate post.

text_var

The variable containing the text that you wish to explore.

term

The chosen term.

n_corr

The number of correlations to include.

Value

A bar plot showing the n most correlated terms and their frequencies.