Learn R Programming

mefa (version 1.1-4)

mapmf: Plots Spatial Representation of a Numeric Vector

Description

Plots spatial representation of a numeric vector based on xy coordinates.

Usage

mapmf(xy, z, probs = seq(0, 1, 0.25), type = "heat", pch = 21, cex = 1.5, ...)

Arguments

xy
a matrix with 2 columns
z
a numeric vector to be plotted according the xy.
probs
probs argument used by qdef, numeric vector of probabilities with values in [0,1].
type
~~Describe type here~~
pch
default for pch used in the plot (see par).
cex
default for cex used in the plot (see par).
...
Arguments to be passed to methods, such as graphical parameters (see par).

See Also

qdef

Examples

Run this code
x <- rep(1:10,10)
y <- rep(1:10, each=10)
z <- rpois(100,10)
mapmf(cbind(x,y),z,type="grey")
mapmf(cbind(x,y),z,NULL)

Run the code above in your browser using DataLab