worldPlot: Plot global data

Description Usage Arguments Details Value Examples

View source: R/worldPlot.R

Description

Plot a quick world map with reasonable coloring.

Usage

1
2
worldPlot(x, dates = unique(x$time), splitPacific = TRUE,
  capMinMax = TRUE, verbose = FALSE)

Arguments

x

A cmip5data object

dates

numeric. Which date value(s) should we plot?

splitPacific

logical. Try to split image in the Pacific?

capMinMax

logical. Cap data min and max by quantile? This may produce better coloring.

verbose

logical. Print info as we go?

Details

Uses ggplot2::geom_raster.

Value

A ggplot object.

Examples

1
2
d <- cmip5data(1970:1975)   # sample data
worldPlot(d)

Example output



RCMIP5 documentation built on May 1, 2019, 6:28 p.m.