View source: R/search_results.r
plot.featureHits | R Documentation |
S3 plot for featureHits class
## S3 method for class 'featureHits'
plot(x, min_weight = 0, backbone_alpha = NA, ...)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.