https://github.com/cran/RandomFields
Raw File
Tip revision: e5a7a2f272b7834f96c925ced7acfa0c6456a87f authored by Martin Schlather on 17 April 2017, 22:09:51 UTC
version 3.1.50
Tip revision: e5a7a2f
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()}
}
back to top