plot.teleCor: Plots teleconnection correlation maps

Description Usage Arguments Value Examples

View source: R/plot.teleCor.R

Description

This function provides basic plotting for analyses returned from cor.tel

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

1
2
3
4
data("coprecip")

cors = teleCor(coprecip)
p = plot(cors, coords.s = c(-105, 39.73))

jmhewitt/telefit documentation built on Feb. 9, 2020, 7:15 p.m.