plot {ramps}R Documentation

Posterior Spatial Distribution Plots

Description

Creates surface maps of posterior spatial distributions from georamps or predict.ramps.

Usage

   ## S3 method for class 'ramps':
   plot(x, type = c("i", "c", "w"), func = mean, sites = FALSE, database = NULL,
        regions = ".", resolution = c(64, 64), theta = 1, ...)

   ## S3 method for class 'predict.ramps':
   plot(x, type = c("i", "c", "w"), func = mean, database = NULL,
        regions = ".", resolution = c(64, 64), theta = 1, ...)

Arguments

x object returned by georamps or predict.ramps.
type type of plot to produce: "i" = image.plot (default), "c" = contour, and "w" = persp wireframe.
func function defining the posterior summary statistic to be plotted.
sites logical value indicating whether to include the measurements sites in the plot.
database character string naming a geographical database for the mapping of geographic boundaries. See map documentation for details.
regions character vector naming the polygons to draw. See map documentation for details.
resolution numerical vector of length 2 specifying the number of pixels (width x height) for the surface image.
theta bandwidth used for smoothing the spatial surface.
... additional arguments passed to the underlying plotting function associated with the specified type argument.

Author(s)

Brian Smith brian-j-smith@uiowa.edu

See Also

georamps predict.ramps contour image.plot persp map

Examples

## Surface maps of the georamps example results

## Not run: 
plot(NURE.fit, database = "state", regions = "connecticut",
     resolution = c(200, 150), theta = 0.1,
     main = "Spatial Process Posterior Mean")
## End(Not run)

[Package ramps version 0.5-3 Index]