coauth_network: Co-authorship edges, with full or fractional counting

View source: R/coauth_network.R

coauth_networkR Documentation

Co-authorship edges, with full or fractional counting

Description

Builds the edges of a co-authorship network from a table with one row per author (or institution, or country) and document. Two authors are linked when they have co-signed documents. The weight of the tie can count each collaboration fully, or share it between the pairs of co-authors of a document (fractional counting), following \insertCiteperianes-rodriguez2016b,leydesdorff2017biblionetwork, and can be normalised by the productivity of the two authors with a cosine.

Usage

coauth_network(
  dt,
  authors,
  articles,
  method = c("full_counting", "fractional_counting", "fractional_counting_refined"),
  cosine_normalized = FALSE
)

Arguments

dt

A data frame or a data.table with one row per author and document. It is not modified.

authors

Character scalar. The column of the authors (or institutions, or countries), the nodes of the network.

articles

Character scalar. The column of the documents.

method

"full_counting" (default), "fractional_counting" or "fractional_counting_refined" (see the details).

cosine_normalized

Logical. If TRUE, divides the weight by the geometric mean of the numbers of co-authored documents of the two authors (Salton's cosine).

Details

[Experimental]

Write a_{ik} = 1 if author i signed document k, and n_k = \sum_i a_{ik} for its number of authors. The weight of the tie between i and j is, according to method:

  • "full_counting": the number of documents they co-signed,

    w_{ij} = \sum_{k} a_{ik} a_{jk}

  • "fractional_counting" \insertCiteperianes-rodriguez2016bbiblionetwork: each document gives 1/(n_k - 1) to each pair,

    w_{ij} = \sum_{k} \frac{a_{ik} a_{jk}}{n_k - 1}

    so that the weights of the ties of an author in a document sum to 1;

  • "fractional_counting_refined", inspired by \insertCiteleydesdorff2017biblionetwork: each document gives 2 / (n_k (n_k - 1)) to each pair,

    w_{ij} = \sum_{k} \frac{2 \, a_{ik} a_{jk}}{n_k (n_k - 1)}

    so that each document has a total weight of 1 in the network: the sum of all the weights equals the number of (multi-authored) documents.

If cosine_normalized = TRUE, the weight is divided by \sqrt{P_i P_j}, with P_i the number of co-authored documents of author i (documents with a single author are ignored in the whole function, since they create no tie).

Duplicated rows are counted once, rows with a missing identifier are dropped with a warning, the table of the user is not modified, and a zero-row table is returned, with a warning, if nobody co-authored a document.

Value

A data.table with one row per pair of authors: from and to (copies of Source and Target, with the type of the authors column), the weight, and the original identifiers in Source and Target. Each pair appears once, with Source > Target (the orientation of the previous versions of the package).

Why use it in research

Co-authorship networks describe the social structure of a research community: who collaborates with whom, the existence of collaborative cliques, the central or bridging positions. The way collaborations are counted changes the picture. With full counting, a document signed by ten authors creates 45 ties of weight 1 and weighs much more in the network than a document signed by two authors; fractional counting corrects this by giving a document a total weight that does not depend on its number of authors. Normalising by productivity prevents very prolific authors from being linked to everybody. Perianes-Rodriguez et al. \insertCiteperianes-rodriguez2016bbiblionetwork compare full and fractional counting for bibliometric networks: read it before choosing. The nodes can be authors, institutions or countries, the latter being the basis of studies of international collaboration.

Intuition

Think of each document as a pie of value 1 to share among the pairs of its authors. With full counting, every pair of co-authors receives a full pie: a document with ten authors distributes 45 pies, a document with two authors distributes one. With fractional counting, a document always distributes the same total (one pie in the refined version, or one pie per author in the other), so that large collaborations do not dominate. The cosine then asks whether two authors collaborate much relative to how much each of them collaborates in general.

References

\insertAllCited

See Also

Other co-citation and co-authorship measures: biblio_cocitation()

Examples

library(biblionetwork)
coauth_network(Authors_stagflation,
               authors = "Author",
               articles = "ItemID_Ref",
               method = "fractional_counting")

# Toy example: three authors sign document 1, two sign document 2.
# With fractional counting, a-b gets 1/2 + 1/1 = 1.5
toy <- data.frame(author = c("a", "b", "c", "a", "b"),
                  paper = c(1, 1, 1, 2, 2))
coauth_network(toy, authors = "author", articles = "paper",
               method = "fractional_counting")


biblionetwork documentation built on Nov. 4, 2026, 5:07 p.m.