createConv: Create Converter

Description Usage Arguments Details Author(s) See Also Examples

Description

Create Matrix Aggregation Converters

Usage

1
2
3
  createConv(dim = list(row = c(58, 37), col = c(58)),
    aggdim = c(1, 2), aggrng = c(1, 1), fixed = 1,
    horiz = FALSE, dimnames = NULL)

Arguments

dim

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

aggdim

a numeric vector with two elements specifying the dimensions within to aggregate members.

aggrng

a numeric vector with two elements specifying the range of aggregation within the dimension selected by aggdim.

horiz

logical specifying if the converter shall be applied horizontally.

Details

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

Author(s)

OECD STAN

See Also

indAggregate

Examples

1
createConv(dim=list(row=c(10,5),col=c(10)),aggdim=c(1,2),aggrng=c(1,3),fixed=2,horiz=FALSE)

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