locational.Gini.curve: Plot a locational Gini curve from regions - industries...

Description Usage Arguments Author(s) References See Also Examples

Description

This function plots a locational Gini curve following Krugman from regions - industries matrices.

Usage

1

Arguments

mat

An incidence matrix with regions in rows and industries in columns. The input can also be a vector of industrial regional count (a matrix with n regions in rows and a single column).

pdf

Logical; shall a pdf be saved to your current working directory? Defaults to FALSE. If set to TRUE, a pdf with all locational Gini curves will be compiled and saved to your current working directory.

pop

A vector of population regional count

Author(s)

Pierre-Alexandre Balland p.balland@uu.nl

References

Krugman P. (1991) Geography and Trade, MIT Press, Cambridge (chapter 2 - p.56)

See Also

Hoover.Gini, locational.Gini, Hoover.curve, Lorenz.curve, Gini

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## generate a region - industry matrix
mat = matrix (
c (100, 0, 0, 0, 0,
0, 15, 5, 70, 10,
0, 20, 10, 20, 50,
0, 25, 30, 5, 40,
0, 40, 55, 5, 0), ncol = 5, byrow = T)
rownames(mat) <- c ("R1", "R2", "R3", "R4", "R5")
colnames(mat) <- c ("I1", "I2", "I3", "I4", "I5")

## run the function (shows industry #5)
locational.Gini.curve (mat)
locational.Gini.curve (mat, pdf = TRUE)

PABalland/EconGeo documentation built on Nov. 13, 2020, 2:50 a.m.