zscore: Return z-score for a keyword

Description Usage Arguments

View source: R/zscore.R

Description

Return z-score for a keyword in a word-context matrix

Usage

1
zscore(mat, term, margin = 1)

Arguments

mat

A word-context matrix

term

The word you are evaluating

margin

The direction of comparison. If "1", zscore will be computed for a row. If "2", zscore will be computed over a column.


michaelgavin/empson documentation built on May 22, 2019, 9:50 p.m.