| build_bipartite | R Documentation |
Constructs a sparse works x entities two-mode matrix from a data frame with a list-column. This is the core engine behind all network construction functions.
build_bipartite(
data,
field,
min_freq = 1L,
deduplicate = TRUE,
sep = ";",
strip_quotes = TRUE
)
data |
A data frame with at least columns |
field |
Character. Name of the list-column containing entities
(e.g., |
min_freq |
Integer. Minimum number of occurrences for an entity to be included. Default 1 (no filtering). |
sep |
Character. Separator used to split |
strip_quotes |
Logical. Strip surrounding quote characters from
entities. Default |
A sparse dgCMatrix with rows = works (named by id) and
columns = unique entities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.