make.similarity.matrix {textreg}R Documentation

Calculate similarity matrix for set of phrases.

Description

First get phrase appearance pattern on positive labeling (if not directly passed) and then calculate similarity matrix of how they are similar to each other.

Usage

make.similarity.matrix(result)

Arguments

result

An textreg.result object or a matrix from make.appearance.matrix

Details

Warning: for 'negative weight' phrases this method does not do well since it ignores negative documents.

See Also

Other Phrase Vizualization: cluster.phrases, make.appearance.matrix, make.phrase.correlation.chart


[Package textreg version 0.1.5 Index]