cano2M: cano2M : Converts a model in canonical form into a matrix...

Description Usage Arguments Author(s) See Also Examples

View source: R/cano2M.R

Description

Converts the vectorial formulation of canonical models into a matrix formulation (that is, including explicitely all the equations). For both input, the list of terms follows the convention defined by poLabs.

Usage

1
cano2M(nVar, dMax, poly)

Arguments

nVar

The number of variables

dMax

The maximum degree allowed in the formulation

poly

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

Author(s)

Sylvain Mangiarotti, Mireille Huc

See Also

drvSucc, gPoMo, poLabs

Examples

1
2
3
4
5
6
# A vector of polynomial terms corresponding to a canonical form:
polyTerms <- c(0.2,0,-1,0.5,0,0,0,0,0,0)
# Convert this vector into a matrix formulation with all the equations: 
K <- cano2M(3,2,polyTerms)
# Visualize the equations:
visuEq(K,3,2)

GPoM documentation built on Feb. 18, 2020, 5:08 p.m.