plotgc | R Documentation |
This funtion generates two plots describing a geostatistical count data. The first plot is a bubble plot with size proportional to the response. The second plot is a lattice plot with text describing the number of counts.
plotgc(data = NULL, locs = NULL, bdry = NULL, col = 2, pch = 1, textcex = 1, col.regions = gray(90:0/100), size=c(0.3, 2.7), ...)
data |
the geostatistical count response. |
locs |
a n by 2 matrix or data frame that indicates the coordinates of locations. |
bdry |
a list containing the coordinates of boundaries. |
col |
the color used for response variable in both plots. |
pch |
the shape used for response variable in the first plot. |
textcex |
a numerical value giving the amount by which plotting text should be magnified relative to the default. |
col.regions |
color vector to be used reflecting magnitude of the dataset at different locations. The general idea is that this should be a color vector of gradually varying color. |
size |
the minimum and maximum of the sizes in the first plot. |
... |
other parameters that control the plotting. |
Zifei Han hanzifei1@gmail.com
plot.simgc
plot.mlegc
,
plot.predgc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.