concentration_indices: Concentration indices

Description Usage Arguments Value See Also Examples

Description

This is a proof-of-concept implementation of concentration measures for data with an exogenous order.

Usage

1
2
3
4
5
  herfindahl(x)

  rosenbluth(x)

  exogeny(x, ex = order(x))

Arguments

x

Data vector

ex

Order of the data vector

Value

The concenctration index.

See Also

Other concentration: concentration_ratio

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## See demo("concentration-bundesliga") for a real-world
## application.

set.seed(1234)
x <- sample(100000, 10)

## Classical concentration indices:
herfindahl(x)
rosenbluth(x)

## Exogenous order is available:
o <- sample(10)
exogeny(x, o)


Search within the SportsAnalytics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.