Performing spatial RLQ analysis with
11 pages
English

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Performing spatial RLQ analysis with

-

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
11 pages
English
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

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


Sujets

Informations

Publié par
Nombre de lectures 110
Langue English

Extrait

Performing
spatial-RLQ analysis
St´ephaneDray
February 10, 2006
with
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
2 Data
3 Spatial-RLQ analysis
1 Introduction
1
2
6
R is a statistical language which can be freely downloaded from internet (http: //www.r-project.org/). The packagespdepwritten 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 theade4package (multivariate analyses) and themaptoolspack-age (if data are stored in the shapefile format (ArcView GIS): library(ade4) library(maptools)
Lastly, download and source the filespatialrlq.Ravailable 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 theread.shapefunction of themaptoolslibrary.
zip.file.extract("environment.dbf", "spatialrlqdata.zip")
1
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents