plot.teleCor {telefit} | R Documentation |
Plots teleconnection correlation maps
Description
This function provides basic plotting for analyses returned from cor.tel
Usage
## S3 method for class 'teleCor'
plot(
x,
signif = F,
coord.s = NULL,
map = "world",
region = ".",
zlim = NULL,
dots = NULL,
...
)
Arguments
x |
object of class teleCor, containing pointwise correlations |
signif |
if TRUE, then teleCor must have a column labeled 'signif' that indicates which correlations are significant. These correlations will be printed in bold, and the rest will be printed more lightly |
coord.s |
specifies the longitude and latitude of local coordinate for which to plot pointwise correlations (if type=='remote'). if NULL, the middle local coordinate will be plotted. |
map |
name of map provided by the maps package. These include county, france, italy, nz, state, usa, world, world2. By default, all stData plots will include us state outlines. |
region |
name of subregions to include. Defaults to . which includes all subregions. See documentation for map for more details. |
zlim |
c(min, max) vector that specifies the colorscale limits |
dots |
additional named arguments with defaults to pass to additional functions |
... |
additional arguments to be passed to lower-level plotting functions |
Value
a ggplot object with the specified map
Examples
data("coprecip")
cors = teleCor(coprecip)
p = plot(cors, coords.s = c(-105, 39.73))