agop - Online Manual

index_g {agop}R Documentation

Egghe's g-index

Description

Given a sequence of n non-negative numbers x=(x_1,…,x_n), where x_i ≥ x_j ≥ 0 for i ≤ j, the g-index (Egghe, 2006) for x is defined as

G(x)=max{i=1,…,n: x_1+…+x_i ≥ i^2}

if n ≥ 1 and x_1 ≥ 1, or G(x)=0 otherwise.

Usage

index_g(x)

index.g(x) # same as index_g(x), deprecated alias

index_g_zi(x)

Arguments

x

a non-negative numeric vector

Details

index.g is a (deprecated) alias for index_g.

Note that index_g is not a zero-insensitive impact function, see Examples section. index_g_zi is its zero-sensitive variant: it assumes that the aggregated vector is padded with zeros.

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

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

Value

a single numeric value

References

Egghe L., Theory and practise of the g-index, Scientometrics 69(1), 2006, pp. 131-152.

See Also

Other impact_functions: index.h, index_h; index.lp, index_lp; index.rp, index_rp; index_maxprod; index_w; pord_weakdom

Examples

sapply(list(c(9), c(9,0), c(9,0,0), c(9,0,0,0)), index_g) # not a zero-sensitive agop

[Package agop version 0.2-0 Index]