Learn R Programming

multivator (version 1.1-4)

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, ...)

Arguments

z
A vector of lenght 2048 corresponding to temperatures on the Earth's surface
pc
Boolean, with TRUE meaning to interpret z a aprincipal component and FALSE meaning to interpret z as a temperature map
...
Further arguments passed to filled.contour()

See Also

mcneall

Examples

Run this code
data(mcneall)
showmap(mcneall_temps[,1],pc=FALSE)

Run the code above in your browser using DataLab