\Header{prmat}{Evaluate Kriging Surface over a Grid}
\keyword{spatial}{prmat}
\begin{Description}\relax
Evaluate Kriging surface over a grid.\end{Description}
\begin{Usage}
\begin{verbatim}
prmat(obj, xl, xu, yl, yu, n)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{obj}] object returned by \code{surf.gls}

\item[\code{xl}] limits of the rectangle for grid

\item[\code{xu}] 
\item[\code{yl}] 
\item[\code{yu}] 
\item[\code{n}] use \code{n}  x  \code{n} grid within the rectangle

\end{ldescription}
\end{Arguments}
\begin{Value}
list with components \code{x}, \code{y} and \code{z} suitable for \code{contour} and \code{image}.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{surf.gls}}, \code{\Link{trmat}}, \code{\Link{semat}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(topo)
topo.kr <- surf.gls(2, expcov, topo, d=0.7)
prsurf <- prmat(topo.kr, 0, 6.5, 0, 6.5, 50)
contour(prsurf, levels=seq(700, 925, 25))
\end{ExampleCode}
\end{Examples}

