Creating polynomial models
Polynomials, mainly used in trend models, can be created easily with this function.
RMpolynome(degree, dim, value=NA, coordnames = c("x", "y", "z", "T"), proj=1:4)
degree |
degree of the polynome |
dim |
number of variables in the polynome |
value |
values of the coefficients. See Details. |
coordnames |
the names of the variables |
proj |
the projection to certain dimensions |
If the length of value
is smaller than the number of monomials,
the remaining terms are filled with NA
s. If the length is
larger, the vector is cut.
RMpolynome
returns an object of class RMmodel
.
Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
## For examples see the help page of 'RFformula' ## RMpolynome(1, 1) RMpolynome(1, 2) RMpolynome(2, 1) RMpolynome(2, 2) RMpolynome(3, 3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.