View source: R/document-network.R
| document_network | R Documentation |
Constructs a network between documents (papers) in the dataset.
document_network(
data,
type = "coupling",
counting = "full",
similarity = "none",
threshold = 0,
min_occur = 1L,
top_n = NULL,
self_loops = FALSE,
deduplicate = TRUE,
format = "edgelist",
references = "references",
sep = ";",
strip_quotes = TRUE,
id = NULL
)
data |
A data frame with |
type |
Character. Relationship type:
|
counting |
Character. Counting method. Default |
similarity |
Character. Similarity measure. Default |
threshold |
Numeric. Minimum edge weight. Default 0. |
min_occur |
Integer. Minimum reference frequency. Default 1. |
top_n |
Integer or NULL. Return only the top n edges by weight. Default NULL (all edges). |
self_loops |
Logical. If |
deduplicate |
Logical. If |
format |
Character. Output format:
|
references |
Character. Name of the column containing cited references.
Default |
sep |
Character. Separator used to split the entity column when it
is a plain character column rather than a list-column, e.g. |
strip_quotes |
Logical. If |
id |
Optional. Name of the column to use as the work identifier
(the matrix-row dimension). If |
Depends on format. For type = "citation", edges are directed
(from = citing, to = cited) with weight and count both 1.
data(biblio_data)
document_network(biblio_data, "coupling")
document_network(biblio_data, "coupling", counting = "strength")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.