Learn R Programming

GPoM (version 1.0)

cano2M: canoToM : Converts canonical formulation into matricial formulation

Description

Converts the vectorial formulation of canonical models into a matricial formulation. For both input, the list of terms follows the convention given in `poLabs`.

Usage

cano2M(nVar, dMax, poly)

Arguments

nVar

The model dimension expected. This parameter will be deduced from the input data (series) if series is a matrix. If series is a vector, the expected dimension nVar should be provided.

dMax

Maximum degree of the polynomial functions allowed in the model (see poLabs).

poly

A vector of coefficients corresponding to the regressor of the canonical function

Examples

Run this code
# NOT RUN {
polyTerms <- c(0.2,0,-1,0.5,0,0,0,0,0,0)
K <- cano2M(3,2,polyTerms)
visuEq(3,2,K)

# }

Run the code above in your browser using DataLab