**useR! 2015 Conference**

**Aalborg, Denmark**

This introductory tutorial is aimed at researchers that have to deal with the analysis of spatial (and spatio-temporal) data. The tutorial will tackle the problem of analysing spatial (and some spatio-temporal) data with the R programming language. Different types of spatial data will be covered, such as point patterns, lattice data and data coming from irregular measurements of continuos processes (geostatistics). In addition, different worked examples will be presented showing how to proceed with the analysis of a wide range of spatial data sets.

The topics of the tutorial will contain an introduction to various R packages for the analysis of spatial data. This includes data import/export, data management and visualisation, and how to fit a broad range of models for spatial data. The worked examples will focus on particular real data sets from Epidemiology, Environmental Sciences, Ecology, Economics and others.

Although most of the contents will include live demonstrations of the software, a working knowledge of the R software is desirable to follow the examples. R is distributed as free software, and it can be downloaded from http://cran.r-project.org . Similarly, the tutorial will introduce the statistical concepts behind the analysis, but a basic knowledge of statistics and regression analysis will be necessary.

The tutorial will make particular emphasis on Bayesian inference for spatial and spatio-temporal modelling. Hence, examples based on packages R-INLA, BayesX and WinBUGS will be included. We will also discuss the main differences among these and other packages for spatio-temporal modelling.

- Spatial data in R
- Spatio-temporal data in R
- Worked examples: Geostatistics
- Worked examples: Point Patterns
- Worked examples: Disease mapping
- Worked examples: Spatial Econometrics

Dr. Virgilio Gómez-Rubio, Department of Mathematics, University of Castilla-La Mancha (Spain)

Additional information on the analysis of spatial data with R, including a gallery of figures, can be found via http://cran.r-project.org/src/contrib/Views/Spatial.html.

R software and packages

This is the main site to download R and the packages that we will use
in the tutorial.

*Script to install some packages for spatial data analysis:* install_pkgs.R.txt

Please, run this script on your laptop **before** coming to the tutorial.

Introductory tutorial to R, ideal for beginners. It contains a description of data types, commands, etc. and how to make basic statistical analysis.

BayesX

Software for Bayesian data analysis.

R-INLA

Software for Bayesian data analysis.

WinBUGS

Software for Bayesian data analysis.

- Introduction to spatial models with INLA
- Fitting some spatial models with R-INLA
- Spatial econometrics with R-INLA