plot.orthobasisSp: Function to display Moran's Eigenvector Maps (MEM) and other...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot.orthobasisSp.R

Description

This function allow to plot or map orthogonal bases

Usage

1
2
3
## S3 method for class 'orthobasisSp'
plot(x, SpORcoords, pos = -1, plot = TRUE,
  match.ID = FALSE, ...)

Arguments

x

an object of class orthobasisSp

SpORcoords

either a Spatial* object or a matrix with geographic coordinates

pos

an integer indicating the position of the environment where the data are stored, relative to the environment where the function is called. Useful only if <e2><80><98>storeData<e2><80><99> is <e2><80><98>FALSE<e2><80><99>

plot

a logical indicating if the graphics is displayed

match.ID

a logical indicating if names of geographic entities match rownames of the orthobasisSp object

...

additional graphical parameters (see <e2><80><98>adegpar<e2><80><99> and <e2><80><98>trellis.par.get<e2><80><99>)

Value

an object of class ADEgS, generated by the s.Spatial function of the adegraphics package

Author(s)

St<c3><a9>phane Dray stephane.dray@univ-lyon1.fr

See Also

s.Spatial

Examples

1
2
3
4
5
6
7
8
9
if(require("ade4", quietly = TRUE) & require("spdep", quietly = TRUE)){
data(mafragh)
me <- mem(nb2listw(mafragh$nb))

if(require("adegraphics", quietly = TRUE)){
plot(me[,1:6], mafragh$xy)
plot(me[,1:6], mafragh$Spatial)
}
}

adespatial documentation built on May 2, 2019, 4:43 p.m.