Description Usage Arguments Details Value Author(s) References See Also Examples
Uses backward and forward linkages
to identify key sectors in the system. Can calculate total and direct linkages. If the data is multiregional, intraregional and interregional linkages can be calculated. Can also be used on a specified subset of all regions.
1 2 | key.sector(io, ES = NULL, crit = 1, regions = "all", sectors = "all",
type = c("direct"), intra.inter = FALSE)
|
io |
An object of class |
ES |
An object of class |
crit |
Integer. The value to compare linkages above or below to classify sectors. Default is 1. |
regions |
Character or Integer. Specific regions to be used. Can either be a character that exactly matches the name of the region in |
sectors |
Character or Integer. Specific sectors to be used. Can either be a character that exactly matches the name of the sector in |
type |
Character. Identifying the type of backward and forward linkages to be calculated. Options are |
intra.inter |
Logical. Only applies to multiregional systems. Determines whether or not to calculate intraregional and interregional backward and forward linkages in addition to aggregate linkages. |
Uses the (various) specified backward and forward linkages
to calculate a key to identify dependence using the specified critical value.
I
BL < crit, FL < crit - Generally independent
II
BL < crit, FL > crit - Dependent on interindustry demand
III
BL > crit, FL > crit - Generally dependent
IV
BL > crit, FL < crit - Dependent on interindustry supply
If there is only one region, key sector binds to the output from linkages
to make a table. Otherwise, it produces a list of key sector codes for each country using the names of regions provided. See Examples for more details.
John J. P. Wade, Ignacio Sarmiento-Barbieri
Blair, P.D. and Miller, R.E. (2009). "Input-Output Analysis: Foundations and Extensions". Cambridge University Press
Nazara, Suahasil & Guo, Dong & Hewings, Geoffrey J.D., & Dridi, Chokri, 2003. "PyIO. Input-Output Analysis with Python". REAL Discussion Paper 03-t-23. University of Illinois at Urbana-Champaign. (http://www.real.illinois.edu/d-paper/03/03-t-23.pdf)
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(toy.IO)
class(toy.IO)
key1 <- key.sector(toy.IO)
key1$Narnia
# A more detailed example
# Using critical value of 2 because this is randomly generated data and better
# illustrates functionality
key2 <- key.sector(toy.IO, intra.inter = TRUE, type = c("direct"), crit = 2)
key2
key3 <- key.sector(toy.IO, regions = c(1:2), sectors = c(1:3,5))
key3
|
Loading required package: ggplot2
Loading required package: plot3D
Loading required package: lpSolve
Warning message:
no DISPLAY variable so Tk is not available
[1] "InputOutput"
BL.dir FL.dir key.dir
Pizza 0.3175995 0.4052596 I
Wii 0.3171828 0.2832168 I
Spaceships 0.3835307 0.3553299 I
Lightsabers 0.2646111 0.2153705 I
Minions 0.2606965 0.3402985 I
$Hogwarts
BL.intra.dir FL.intra.dir key.intra.dir BL.inter.dir FL.inter.dir
Pizza 0.12639594 0.1071066 I 0.1690355 0.1380711
Wii 0.07594937 0.1429635 I 0.1846612 0.2099777
Spaceships 0.11144398 0.1348113 I 0.1354104 0.1731576
Lightsabers 0.18477044 0.1898096 I 0.1965286 0.1013438
Minions 0.26217765 0.1905444 I 0.1554441 0.2048711
key.inter.dir BL.agg.dir FL.agg.dir key.agg.dir
Pizza I 0.2954315 0.2451777 I
Wii I 0.2606106 0.3529412 I
Spaceships I 0.2468544 0.3079688 I
Lightsabers I 0.3812990 0.2911534 I
Minions I 0.4176218 0.3954155 I
$Narnia
BL.intra.dir FL.intra.dir key.intra.dir BL.inter.dir FL.inter.dir
Pizza 0.1834120 0.2346595 I 0.1341875 0.17060013
Wii 0.1638362 0.1883117 I 0.1533467 0.09490509
Spaceships 0.2081218 0.1466441 I 0.1754089 0.20868584
Lightsabers 0.1352968 0.1178095 I 0.1293143 0.09756098
Minions 0.1552239 0.1661692 I 0.1054726 0.17412935
key.inter.dir BL.agg.dir FL.agg.dir key.agg.dir
Pizza I 0.3175995 0.4052596 I
Wii I 0.3171828 0.2832168 I
Spaceships I 0.3835307 0.3553299 I
Lightsabers I 0.2646111 0.2153705 I
Minions I 0.2606965 0.3402985 I
$Hogwarts
BL.dir FL.dir key.dir
Pizza 0.2954315 0.2451777 I
Wii 0.2606106 0.3529412 I
Spaceships 0.2468544 0.3079688 I
Minions 0.4176218 0.3954155 I
$Narnia
BL.dir FL.dir key.dir
Pizza 0.3175995 0.4052596 I
Wii 0.3171828 0.2832168 I
Spaceships 0.3835307 0.3553299 I
Minions 0.2606965 0.3402985 I
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.