symbolplot: Detecting spatial trends graphically

View source: R/exploratoryAnalysis.R

symbolplotR Documentation

Detecting spatial trends graphically

Description

This function performs a symbol plot to help in identifying any spatial trends

Usage

symbolplot(data, coord, which = "gev", plot.border = NULL,
 col = c("#FF000080", "#0000FF80"), plot.legend = TRUE, scale = 1)

Arguments

data

A matrix representing the data. Each column corresponds to one location.

coord

A matrix that gives the coordinates of each location. Each row corresponds to one location.

which

A character string specifying which values should be plotted. Must be one of "gev" (for the GEV marginal parameters), "mean" for pointwise mean or "median" for pointwise median.

plot.border

An R function that plots the border of the study region. If NULL (default) no border is plotted.

col

A vector of length 2 giving the colors to be used to fill the circles.

plot.legend

Logical. If TRUE (default), a legend is added to the plot.

scale

Positive number. It enables to enlarge (if scale > 1) or reduce (if 0 < scale < 1) the radius of the plotted circles to get a better display.

Details

This function will plot several circles whose center is located at the weather stations and whose radius is proportional to the departure of the value at that position to the areal mean value.

Value

A plot.

Author(s)

Mathieu Ribatet

Examples

## Symbol plot for the Swiss rainfall data set
data(rainfall)
symbolplot(rain, coord, plot.border = swiss)

SpatialExtremes documentation built on April 19, 2022, 5:06 p.m.