| plot {ramps} | R Documentation |
Creates surface maps of posterior spatial distributions from georamps or predict.ramps.
## 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, ...)
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. |
Brian Smith brian-j-smith@uiowa.edu
georamps
predict.ramps
contour
image.plot
persp
map
## 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)