hierarchy: Hierarchy

Description Usage Arguments Details Author(s) See Also Examples

Description

Create STAN industry hierarchy

Usage

1
2
3
hierarchy(file = system.file("extdata", "loadDim_indi3agg.csv", package =
  "stan"), agg.exclude, parent = FALSE, order = FALSE,
  colnameprefix = NULL)

Arguments

file

the aggregation matrix in csv format.

agg.exclude

character vector with aggregates to be excluded from the hierarchy.

parent

logical to list all parents of industry instead of members.

order

logical to create ordered vector of aggregates and contained sectors

Details

Function to create an industry hierarchy based on a aggregation matrix with industries in columns and aggregates in rows. Membership is indicated with a '1'.

Author(s)

OECD STAN

See Also

indAggregate, loadDim

Examples

1
hierarchy(file=system.file("extdata", "loadDim_indi3agg.csv", package = "stan"))

bowerth/stan documentation built on May 13, 2019, 12:38 a.m.