Learn R Programming

GPoM (version 1.0)

regOrd: regOrd : Defines the conventional order for regressors in the polynomial formulation

Description

Defines the order convention for regressors in polynomial. It is formulated as a matrix of explonents. Each column of the matrix (a,b,c, ...) corresponds to one regressor defined as the product of X1^a * X2^b * X3^c, etc.

Usage

regOrd(nVar, dMax)

Arguments

nVar

The number of variables

dMax

The maximum degree allowed for the polynomial

Value

A matrix of exponent. Each column correspond to one polynomial term. Each line correspond to one variable. For example, a column of three exponents (0,2,1) correspond to regressor X1^0 * X2^2 * X3^1, that is X2^2 * X3.

See Also

poLabs