matrix_is_cyclic: Check whether the rows of a matrix show a cyclic pattern

View source: R/auxiliary_functions.R

matrix_is_cyclicR Documentation

Check whether the rows of a matrix show a cyclic pattern

Description

Needed to determine whether stationary_moments is applicable (works only for models with periodic parameter structure)

Usage

matrix_is_cyclic(matr, length_of_period)

Arguments

matr

The parameter matrix to check.

length_of_period

Usually 52 (52 weeks per year).

Value

logical: does the matrix show a periodic pattern?


jbracher/hhh4addon documentation built on Feb. 16, 2024, 1:45 a.m.