- x
(required) an object of class modgam
, usually returned by the modgam
function.
- map
can be used to map predicted values on a base map from the map
function in the maps package, or on a base map produced by the readShapePoly
function in maptools package. ReadShapePoly reads maps from external files in the ESRI shapefile format. map=NULL
produces a color image without any base map.
- exp
if exp=T
, fit
will be displayed in exponential scale.
- add
use add=T
to add the color map to an existing plot. This will often result in loss of the legend and scale, which are added outside of the normal
map boundaries. add
is ignored when a map is provided using the
map
argument.
- intervals
if the modgam
object contains confidence intervals, the lower and higher intervals will be plotted if intervals=T
.
- mapmin
the minimum value for the color scale legend.
- mapmax
the maximum value for the color scale legend.
- col.seq
The color sequence (palette) used to display the predicted values on the map.
- anchor
Use anchor=TRUE
to center the color palette on legend.add.line
. When anchor=FALSE
or when legend.add.line
is not specified, the color palette will be centered halfway between mapmin and mapmax. anchor=TRUE
is recommended when using a divergent palette.
- border.gray
gray scale for the border of map
, ranges from 0 to 1. It is white with border.gray=1
, and black with border.gray=0
. The defalt scale is 0.3.
- contours
use contours="response"
to add contour lines for the predicted response, for example to draw isoboles for mixtures of exposures. Use contours="permrank"
to add contour lines for pointwise p-values computed from the permutation ranks, at alpha/2
and (1-alpha)/2
. use contours = "intervals"
to add contour lines for areas where the confidence intervals do not include 0. The default is "none" which produces no contour lines.
- contours.drawlabels
use contours.drawlabels = TRUE
add labels on contour lines.
- contours.lty
the line type for contour lines.
- contours.lwd
the width for contour lines.
- contours.levels
the levels for contour lines. When exp=T
, the levels will also be used in an exponential scale.
- contours.labcex
cex for contour labelling. This is an absolute size, not a multiple of par("cex")
- arrow
use arrow=T
to add a North arrow to the map.
- axes
use axes=T
to add axes to the map (useful for chemical mixture isoboles).
- ptsize
the size of the points used to fill in colors on the map. Increase to remove white space inside the map or decrease to remove color outside the map boundaries. NOTE: white space can also be eliminated by increasing the grid size in predgrid
, which is often preferable as it results in a higher resolution map.
- alpha
the nominal pointwise type I error rate; only used when contours="permrank"
.
- mai
the margins of the plot. Details see par.
- legend.name
the name of displayed for the legend bar.
- legend.cex
a numerical value giving the amount by which legend text should be magnified relative to the default.
- ...
other arguments to be passed to colormap function.