reorderPpmi: Reorder PPMI columns

View source: R/concordancer.R

reorderPpmiR Documentation

Reorder PPMI columns

Description

The values of the ppmi will be used for weight selection and can be included as superindices.

Usage

reorderPpmi(ppmi, pmi_columnname)

Arguments

ppmi

Dataframe with a row per context word and columns for frequency and association measures/

pmi_columnname

Name of the column with the weighting values of interest.

Value

Dataframe with a cw column for the context word and a my_weight column for the weighting.


montesmariana/semcloud documentation built on April 15, 2022, 6:57 a.m.