convCreate: Create Converter

Description Usage Arguments Details Author(s) See Also Examples

Description

Create Matrix Aggregation Converters

Usage

1
2
convCreate(dim = list(row = c(58, 37), col = c(58)), agg.row1 = c(1:10),
  agg.row2 = c(1:2), agg.col1 = c(5), horiz = FALSE, dimnames = NULL)

Arguments

dim

a list with two non-empty elements specifying the dimensions of the converter.

agg.row1

a numeric vector with two elements specifying the first row aggregation dimension.

agg.row2

a numeric vector with two elements specifying the second row aggregation dimension.

agg.col1

a numeric vector with two elements specifying the column aggregation dimension.

horiz

logical specifying if the converter shall be applied horizontally.

dimnames

a list with as many items as dimensions, each item as many elements as dimension members.

Details

Create converters for the aggregation of matrices. Tested with two cascaded row dimensions and one column dimension.

Author(s)

OECD STAN

See Also

convShow

Examples

1
2
see "convCreate.svg" in /vignettes/diagrams
convCreate(dim=list(row=c(10,5),col=c(10)),agg.row1=c(1:10),agg.row2=c(1:2),agg.col1=c(5),horiz=FALSE,dimnames=NULL)

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