CRANStatusBadge R-CMD-check codecov

Installing mcompanion

The latest stable version is on CRAN.

install.packages("mcompanion")

You can install the development version of mcompanion from Github:

remotes::install_github("GeoBosh/mcompanion")

Overview

Package “mcompanion” provides a class for multi-companion matrices with methods for arithmetic and factorization. A method for generation of multi-companion matrices with prespecified spectral properties is provided, as well as some utilities for periodically correlated and multivariate time series models. See Boshnakov (2002) and Boshnakov & Iqelan (2009).

Package “mcompanion” implements multi-companion matrices as discussed by Boshnakov (2002) and Boshnakov and Iqelan (2009). The main feature is the provided parsimonious parameterisation of such matrices based on their eigenvalues and the seeds for their eigenvectors. This can be used for specification and parameterisation of models for time series and dynamical systems in terms of spectral characteristics, such as the poles of the associated filters or transition matrices.

See also the web site of mcompanion.