PruneDisciplines: Set of permissible disciplines for redistribution.

Description

Computes the set of disciplines to which uncategorized references can be redistributed.
This set is computed taking into account the mutual similarities of the already referenced disciplines, as explained in Calatrava et al. (2016).
This function allows to set a tolerance of similarity that only permits similar disciplines to participate in the redistribution process.
Therefore, it avoids redistributions that include very dissimilar and improbable disciplines.

Usage

1

Arguments

r

A logical vector indicating which disciplines are referenced by the current document.
Its length is equal to the total number of disciplines.

tolerance

A real number in the interval [0,1].
This argument modulates the similarity between disciplines with which the strictness of the pruning of unlikely disciplines is controlled.
A value of 0 allows all disciplines to participate in the redistribution process.
A value of 1 permits no tolerance.
This argument is optional and leaving it unspecified deactivates tolerances.

similarity

A positive semi-definite matrix that encodes the similarity between disciplines, as explained in Porter and Rafols (2009).
The dimensions of this matrix are n x n, being n the total number of disciplines.
The number of rows and the number of columns of this matrix needs to be equal to the length of r.
The self-similarities (i.e. the diagonal elements) have to be 1.

Value

A logical vector indicating to which disciplines a reference redistribution is permissible.