https://github.com/cran/RandomFields
Tip revision: 919f138ae97c73da2321579cf0a01351bf9ebff3 authored by Martin Schlather on 11 October 2016, 18:32:27 UTC
version 3.1.24.1
version 3.1.24.1
Tip revision: 919f138
RMpolynome.Rd
\name{RMpolynome}
\alias{RMpolynome}
\title{Creating poylonmial models}
\description{
Polynomial, mainly used in trend models, can be created easily with
this function.
}
\usage{
RMpolynome(degree, dim, value=NA, varnames = c("x", "y", "z", "T"),
proj=1:4)
}
\arguments{
\item{degree}{degree of the polynome
}
\item{dim}{number of variables in the polynome
}
\item{value}{ values of the coefficients. See Details
}
\item{varnames}{the names of the variables
}
\item{proj}{the projection to certain dimensions.
}
}
\details{
If the length of \code{value} is smaller than the number of mononomes,
the remaining terms are filled with \code{NA}s. If the length is
larger, the vector is cut.
}
\value{
\command{\link{RMpolynome}} returns an object of class \code{\link[=RMmodel-class]{RMmodel}}.
}
\author{Martin Schlather, Marco Oesting, \email{schlather@math.uni-mannheim.de}
}
\seealso{
\command{\link{RMtrend}},
\command{\link{RFfit}}.
}
\keyword{spatial}
\keyword{models}
\examples{
## For examples see the help page of 'RFformula' ##
RMpolynome(1, 1)
RMpolynome(1, 2)
RMpolynome(2, 1)
RMpolynome(2, 2)
RMpolynome(3, 3)
\dontshow{FinalizeExample()}
}