multivator (version 1.1-9)

showmap: Function to plot the McNeall dataset

Description

A small wrapper function to plot a global map of temperature, which is useful when analyzing the McNeall dataset

Usage

showmap(z, pc, landmask, ...)

Arguments

z

A vector of length 2048 corresponding to temperatures on the Earth's surface

pc

Boolean, with TRUE meaning to interpret z as a principal component and FALSE meaning to interpret z as a temperature map

landmask

A matrix of zeros and ones corresponding to the Earth's surface with zero indicating sea and one indicating land; use data(mcneall)

Further arguments passed to filled.contour()

See Also

mcneall

Examples

Run this code
# NOT RUN {
data(mcneall)
showmap(mcneall_temps[,1],pc=FALSE,landmask=landmask)
# }

Run the code above in your browser using DataCamp Workspace