Description Usage Arguments Details Value Author(s) References See Also Examples

`agg.sector`

takes specified regions and creates a "new" joint region. This produces a new `InputOutput`

object. Note the Leontief Inverse and Ghoshian Inverse are elements. All regions must have exactly the same sectors. See `locate.mismatch`

.

Caution: Inverting large matrices will take a long time. R does a computation roughly every 8e-10 second. The number of computations per matrix inversion is n^3 where n is the dimension of the square matrix. For n = 5000 it should take 100 seconds.

1 | ```
agg.region(io, regions, newname = "newname")
``` |

`io` |
An |

`regions` |
Character. Specific regions to be aggregated. Can either be a character that exactly matches the name of the region in |

`newname` |
Character. The name to give to the new aggregated region. |

Creates an aggregation matrix similar to that of `agg.sector`

. See Blair and Miller 2009 for more details.

A new `InputOutput`

object is created. See `as.inputoutput`

.

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)

`as.inputoutput`

, `locate.mismatch`

, `agg.region`

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.