Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

index_rp

The r_p-index


Description

Given a sequence of n non-negative numbers x=(x_1,…,x_n), where x_i ≥ x_j for i ≤ j, the r_p-index for p=∞ equals to

r_p(x) = max{ min{i, x_i} } for i=1,…,n

if n ≥ 1, or r_∞(x)=0 otherwise. That is, it is equivalent to a particular OWMax operator, see owmax.

For the definition of the r_p-index for p < ∞ we refer to (Gagolewski, Grzegorzewski, 2009).

Usage

index_rp(x, p = Inf)

index.rp(x, p = Inf) # same as index_rp(x, p), deprecated alias

Arguments

x

a non-negative numeric vector

p

index order, p in [1,∞]; defaults (Inf).

Details

Note that if x_1,…,x_n are integers, then

r_∞(x)=H(x),

where H is the h-index (Hirsch, 2005) and

r_1(x)=W(x),

where W is the w-index (Woeginger, 2008), see index_h and index_w.

If a non-increasingly sorted vector is given, the function has O(n) run-time.

For historical reasons, this function is also available via an alias, index.rp [but its usage is deprecated].

Value

a single numeric value

References

Gagolewski M., Grzegorzewski P., A geometric approach to the construction of scientific impact indices, Scientometrics 81(3), 2009, pp. 617-634.

Hirsch J.E., An index to quantify individual's scientific research output, Proceedings of the National Academy of Sciences 102(46), 2005, pp. 16569-16572.

Woeginger G.J., An axiomatic characterization of the Hirsch-index, Mathematical Social Sciences 56(2), 2008, pp. 224-232.

See Also

Examples

x <- runif(100, 0, 100);
index.rp(x);            # the r_oo-index
floor(index.rp(x));     # the h-index
index.rp(floor(x), 1);  # the w-index

agop

Aggregation Operators and Preordered Sets

v0.2-3
LGPL (>= 3)
Authors
Marek Gagolewski [aut, cre] (<https://orcid.org/0000-0003-0637-6028>), Anna Cena [ctb] (<https://orcid.org/0000-0001-8697-5383>)
Initial release
2020-01-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.