plot: Posterior Spatial Distribution Plots

plotR 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 georamps or predict.ramps.

type

type of plot to produce: "i" = image.plot (default), "c" = contour and image, and "w" = drape.plot wireframe.

col

vector of colors such as that generated by rainbow, heat.colors, topo.colors, terrain.colors, or similar functions.

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.

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 type argument.

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)

ramps documentation built on March 31, 2023, 9:08 p.m.

Related to plot in ramps...