CITAN (version 2011.08-1)

curve.add.lp: Draw the l_p-curve of given size

Description

The $l_p$-curve appears in the definition of the $l_p$-index (see Gagolewski, Grzegorzewski, 2009) and the index.lp function.

Usage

curve.add.lp(ab, p=Inf, n=101, ...)

Arguments

ab
size of the $l_p$-curve; positive numeric vector of length 2.
p
index order, $p \in [1,\infty]$; defaults $\infty$ (Inf).
n
integer; the maximal number of values at which to evaluate the underlying function.
...
additional graphical parameters.

References

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

See Also

index.lp, plot.citfun, plot.default

Examples

Run this code
john_s <- c(11,5,4,4,3,2,2,2,2,2,1,1,1,0,0,0,0);
plot.citfun(john_s, main="Smith, John");
curve.add.lp(index.lp(john_s), col="green");
curve.add.lp(index.lp(john_s,1), 1, col="blue");
curve.add.lp(index.lp(john_s,2), 2, col="red");

Run the code above in your browser using DataCamp Workspace