Performing spatial-RLQ analysis with Stephane Dray February 10, 2006 This document indicates how to perform spatial-RLQ analysis (Dray et al., 2002) in R. Commands are written in red and outputs are written in blue. Contents 1 Introduction 1 2 Data 2 3 Spatial-RLQ analysis 6 1 Introduction R is a statistical language which can be freely downloaded from internet (http: // The package spdep written by Roger Bivand is de- voted to the creation and to the manipulation of spatial weighting matrices. You have to install it and to load it into your R session: library(spdep) You need also the ade4 package (multivariate analyses) and the maptools pack- age (if data are stored in the shapefile format (ArcView GIS): library(ade4) library(maptools) Lastly, download and source the file spatialrlq.R available in the software section of my website. source(spatialrlq.R) 2 Data We illustrate the method using two data sets. The data consists in a zip archive containing two ArcView shapefiles (ESRI file format). Files are extracted and data are loaded into R with the read.shape function of the maptools library. zip.file.
- rlq analysis
- polylist
- maj min
- rhone-alpes region
- maj moy
- environmental variable
- maj maj
- performing spatial