# Tools for Comparing Text Messages Across Time and Media

## Documentation for package ‘RNewsflow’ version 1.2.3

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

as_document_network | Create a document similarity network
compare_documents | Compare the documents in a dtm
create_document_network | Create a document similarity network
create_queries | Automatically infer queries from combinations of terms in a dtm
delete.duplicates | Delete duplicate (or similar) documents from a document term matrix
delete_duplicates | Delete duplicate (or similar) documents from a document term matrix
directed.network.plot | A wrapper for plot.igraph for visualizing directed networks.
directed_network_plot | A wrapper for plot.igraph for visualizing directed networks.
docnet | Document similarity network for one news agency, and the print and online editions of two newspapers
document.network | Create a document similarity network
document.network.plot | Visualize (a subcomponent) of the document similarity network
documents.compare | Compare the documents in two corpora/dtms
document_network_plot | Visualize (a subcomponent) of the document similarity network
filter.window | Filter edges from the document similarity network based on hour difference
filter_window | Filter edges from the document similarity network based on hour difference
get_doc_terms | View term scores for a given document
get_overlap_terms | View overlapping terms for a given pair of documents
hourdiff_range_thresholds | Inspect effects of thresholds on matches over time
network.aggregate | Aggregate the edges of a network by vertex attributes
network_aggregate | Aggregate the edges of a network by vertex attributes
newsflow.compare | Compare the documents in a dtm with a sliding window over time
newsflow_compare | Create a network of document similarities over time
only.first.match | Transform document network so that each document only matches the earliest dated matching document
only_first_match | Transform document network so that each document only matches the earliest dated matching document
rnewsflow_dfm | quanteda dfm for RNewsflow vignette demo
show.window | Show time window of document pairs
show_window | Show time window of document pairs
tcrossprod_sparse | tcrossprod with benefits, for people that like parameters
term.day.dist | Calculate statistics for term occurence across days
term_char_sim | Find terms with similar spelling
term_day_dist | Calculate statistics for term occurence across days
term_innovation | Experimental: Convert dtm scores to a term innovation score, based on changes in term use over time
term_intersect | Combine terms in a dtm
term_union | Combine terms in a dtm