Learn R Programming

intamap (version 1.5-7)

plotIntamap: plot intamap objects

Description

Plotting function for intamap-objects of the type described in intamap-package

Usage

plotIntamap(object, zcol = "all", sp.layout = NULL, plotMat = c(2,2), ...)
# S3 method for copula
plot(x,  ...)
# S3 method for idw
plot(x, ...)
# S3 method for automap
plot(x, ...)

# S3 method for linearVariogram
plot(x, ...)
# S3 method for transGaussian
plot(x, ...)
# S3 method for yamamoto
plot(x, ...)

Value

A plot of some of the elements of object. This will typically be the sample variogram and the fitted variogram model (if a method based on variograms has been used) and all the predictions.

Arguments

object

a list object. Most arguments necessary for interpolation are passed through this object. See intamap-package for further description of the necessary content of this variable

x

intamap object, when plot is called directly

zcol

a list of column names to be plotted; if equal to all, the column names will correspond to all possible column names from outputWhat (see createIntamapObject)

sp.layout

an object that can contain lines, points and polygons that function as extra layout; see spplot for more information

plotMat

an array of lengt two with the number of rows and columns of plots per page

...

other parameters that can be passed to other plot functions (e.g. plot, spplot, automapPlot and xyplot

Author

Jon Olav Skoien

Details

All the plot methods above are simple wrapper functions around the plotIntamap function.

References

Pebesma, E., Cornford, D., Dubois, G., Heuvelink, G.B.M., Hristopulos, D., Pilz, J., Stohlker, U., Morin, G., Skoien, J.O. INTAMAP: The design and implementation f an interoperable automated interpolation Web Service. Computers and Geosciences 37 (3), 2011.

Examples

Run this code
data(meuse)
meuse$value = log(meuse$zinc)
data(meuse.grid)
coordinates(meuse) = ~x+y
coordinates(meuse.grid) = ~x+y
object = interpolate(meuse, meuse.grid, 
                     outputWhat = list(mean = TRUE, variance = TRUE, 
                     excprob = 7, excprob = 8, quantile = 0.9, quantile = 0.95),
                     methodName = "automap")
plot(object)

Run the code above in your browser using DataLab