Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

RMpolynome

Creating polynomial models


Description

Polynomials, mainly used in trend models, can be created easily with this function.

Usage

RMpolynome(degree, dim, value=NA, coordnames = c("x", "y", "z", "T"),
           proj=1:4)

Arguments

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

Details

If the length of value is smaller than the number of monomials, the remaining terms are filled with NAs. If the length is larger, the vector is cut.

Value

RMpolynome returns an object of class RMmodel.

Author(s)

See Also

Examples

## For examples see the help page of 'RFformula' ##

RMpolynome(1, 1)
RMpolynome(1, 2)
RMpolynome(2, 1)
RMpolynome(2, 2)
RMpolynome(3, 3)

RandomFields

Simulation and Analysis of Random Fields

v3.3.10
GPL (>= 3)
Authors
Martin Schlather [aut, cre], Alexander Malinowski [aut], Marco Oesting [aut], Daphne Boecker [aut], Kirstin Strokorb [aut], Sebastian Engelke [aut], Johannes Martini [aut], Felix Ballani [aut], Olga Moreva [aut], Jonas Auel[ctr], Peter Menck [ctr], Sebastian Gross [ctr], Ulrike Ober [ctb], Paulo Ribeiro [ctb], Brian D. Ripley [ctb], Richard Singleton [ctb], Ben Pfaff [ctb], R Core Team [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.