| author_weights | R Documentation |
Given the number of authors and their positions, returns a weight vector
for positional counting methods. All methods normalize weights to sum to 1
per paper. Position-independent methods (fractional, paper, strength) are
handled by apply_counting() instead.
author_weights(
n,
counting = "fractional",
position_weights = c(1, 0.8, 0.6, 0.4),
first_last_weight = 2
)
n |
Integer. Number of authors. |
counting |
Character. Counting method. |
position_weights |
Numeric vector. Custom weights for
|
first_last_weight |
Numeric. Multiplier for first/last authors
when |
Numeric vector of length n, summing to 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.