radekW: The Numbers of Rows of the Output Matrix

Description Usage Arguments Value Author(s) Examples

Description

The numbers of rows of the output matrix. These numbers are determined by the vectors of n and k.

Usage

1
radekW(n, k)

Arguments

n

An integer vector cumulative number of individual process steps.
n[1] > 0, n[i] > n[i-1].

k

A vector of 0 and 1 identifying the mode of calculation in the stretch step.
k[i] = 1 for rn[j] = rn[j-1]+1,
k[i] = 0 for rn[j] = 2*rn[j-1],
where rn[j] is the j-th row name of the output value matrix.

Value

Matrix size n[length(n)] x 1.
The values of the rows of the matrix are the numbers of steps of the chain.

Author(s)

Josef Brejcha

Examples

1
  radekW(n = c(3, 5, 8, 9, 11), k = c(1, 0, 1, 0, 0))

MPkn documentation built on May 2, 2019, 2:36 a.m.