Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.featureHits

S3 plot for featureHits class


Description

S3 plot for featureHits class

Usage

## S3 method for class 'featureHits'
plot(x, min_weight = 0, backbone_alpha = NA, ...)

Arguments

x

a featureHits object, as returned by search_features

min_weight

Optionally, the minimum weight for an edge in the network

backbone_alpha

Optionally, the alpha threshold for backbone extraction (similar to a p-value, and lower is more strict)

...

not used

Examples

tc = create_tcorpus(sotu_texts, doc_column='id')
hits = search_features(tc, c('War# war* OR army OR bomb*','Terrorism# terroris*',
                              'Economy# econom* OR bank*','Education# educat* OR school*'))
plot(hits)

corpustools

Managing, Querying and Analyzing Tokenized Text

v0.4.10
GPL-3
Authors
Kasper Welbers and Wouter van Atteveldt
Initial release
2022-05-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.