Description Usage Arguments Details Value References Examples
View source: R/biblio_coupling.R
This function calculates the number of references that different articles share together, as well as the coupling angle value of edges in a bibliographic coupling network \insertCitesen1983biblionetwork, from a direct citation data frame. This is a standard way to build bibliographic coupling network using Salton's cosine measure: it divides the number of references that two articles share by the square root of the product of both articles bibliography lengths. It avoids giving too much importance to articles with a large bibliography.
1 2 3 4 5 6 7 8 | biblio_coupling(
dt,
source,
ref,
normalized_weight_only = TRUE,
weight_threshold = 1,
output_in_character = TRUE
)
|
dt |
For bibliographic coupling (or co-citation), the dataframe with citing and cited documents. It could also be used
|
source |
The column name of the source identifiers, that is the documents that are citing. In a coupling network, these documents are the nodes of the network. |
ref |
The column name of the cited references identifiers. |
normalized_weight_only |
If set to FALSE, the function returns the weights normalized by the cosine measure, but also the number of shared references. |
weight_threshold |
Corresponds to the value of the non-normalized weights of edges. The function just keeps the edges
that have a non-normalized weight superior to the |
output_in_character |
If TRUE, the function ends by transforming the |
This function implements the following weight measure:
\frac{R(A) \bullet R(B)}{√{L(A).L(B)}}
with R(A) and R(B) the references of document A and document B, R(A) \bullet R(B) being the number of shared references by A and B, and L(A) and L(B) the length of the bibliographies of document A and document B.
This function uses data.table package and is thus very fast. It allows the user to compute the coupling angle on a very large data frame quickly.
This function is a relatively general function that can also be used
for co-citation networks (just by inversing the source
and ref
columns).
If you want to avoid confusion, rather use the biblio_cocitation()
function.
for title co-occurence networks (taking care of the length of the title thanks to the coupling angle measure);
for co-authorship networks (taking care of the
number of co-authors an author has collaborated with on a period). For co-authorship,
rather use the coauth_network()
function.
A data.table with the articles (or authors) identifiers in from
and to
columns,
with one or two additional columns (the coupling angle measure and the number of shared references).
It also keeps a copy of from
and to
in the Source
and Target
columns. This is useful is you
are using the tidygraph package after, where from
and to
values are modified when creating a graph.
1 2 3 4 5 | library(biblionetwork)
biblio_coupling(Ref_stagflation,
source = "Citing_ItemID_Ref",
ref = "ItemID_Ref",
weight_threshold = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.