dm_col_index: Column indices of duplication matrix

Description Usage Arguments Details Value

View source: R/aux_funs.R

Description

Create a vector containing the column indices of a duplication matrix. It's assumed the output will be matched with a row index running from 1, 2, ... onwards. It's helpful for creating a duplication matrix for a base matrix of dimension K x K.

Usage

1

Arguments

K

An integer scalar. The number of variables of the VAR(p) system.

Details

dm_col_index is a helper function for duplication_matrix.

Value

An integer vector of length K^2.


nielsaka/zeitreihe documentation built on March 17, 2020, 8:38 p.m.