Learn R Programming

GPoM (version 1.0)

d2pMax: d2pMax : provides pMax given dMax and nVar

Description

Gives the maximum polynomial degree pMax given the number of polynomial terms dMax and the system dimension nVar

Usage

d2pMax(nVar, dMaxKnown)

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.

dMaxKnown

The number of polynoms terms to retrieve

Value

The maximum polynomial degree dMax used to code the polynomial

See Also

gloMoId, gPoMo, poLabs

Examples

Run this code
# NOT RUN {
#############
# Example 1 #
#############
# Maximum polynomial degree ?
# number of variables:
nVar <- 3
# polynomial degree:
dMax <- 3
# The maximal polynomial degree used for coding the polynomial is:
d2pMax(nVar,dMax)

# }

Run the code above in your browser using DataLab