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"), col = tim.colors(64), func = mean,
sites = FALSE, database = NULL, regions = ".", resolution = c(64, 64),
bw = 1, ...)
## S3 method for class 'predict.ramps'
plot(x, type = c("i", "c", "w"), col = tim.colors(64), func = mean,
database = NULL, regions = ".", resolution = c(64, 64), bw = 1, ...)
Arguments
x |
object returned by |
type |
type of plot to produce: |
col |
vector of colors such as that generated by |
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 |
regions |
character vector naming the polygons to draw. See |
resolution |
numerical vector of length 2 specifying the number of pixels (width x height) for the surface image. |
bw |
numerical value specifying the bandwidth used for smoothing the spatial surface as a percentage of the diagonal length of the plot region. Defaults to 1% of the diagonal length. |
... |
additional arguments passed to the underlying plotting function associated with the specified |
Author(s)
Brian Smith brian-j-smith@uiowa.edu
See Also
georamps
predict.ramps
contour
drape.plot
image
image.plot
map
Examples
## Surface maps of the georamps example results
## Not run:
plot(NURE.fit, database = "state", regions = "connecticut",
resolution = c(200, 150), bw = 5,
main = "Spatial Process Posterior Mean")
## End(Not run)