A tutorial showing how to analyze environmental soil data in R, covering univariate analysis, correlation, regression, ANOVA, factor analysis and geostatistics.
This tutorial presents a data analysis sequence for environmental datasets using the R environment for statistical computing and visualisation. It is aimed at students in geo-information application fields who have some experience with basic statistics but not necessarily with statistical computing.
The analysis is carried out on a small but typical data set of multivariate point observations: 147 soil profile observations from the Tropenbos Cameroon Programme, with three fixed soil layers and three selected soil properties (clay content, cation exchange capacity and organic carbon). The tutorial proceeds from visualisation and exploration through univariate point estimation, bivariate correlation and regression, multivariate factor analysis, analysis of variance, and finally some geostatistics.
| Dataset size | 147 soil profile observations |
|---|---|
| Soil layers sampled | 0-10 cm, 10-20 cm, 30-50 cm |
| Soil properties analyzed | Clay content, CEC, Organic carbon |
| Site coordinates | East and North Coordinates, UTM Zone 32N, WGS84 datum, in meters |
| R version used | R version 3.3.2 (2016-10-31) |
| Document version and date | Version 1.4, May 6, 2017 |
The tutorial uses a data set of 147 soil profile observations from the Tropenbos Cameroon Programme, covering three fixed soil layers and three soil properties: clay content, cation exchange capacity and organic carbon.
It covers univariate point estimation and inference, bivariate correlation and regression, one-way analysis of variance, multivariate correlation and regression, factor analysis, and geostatistics including ordinary kriging.
The analysis is carried out in the R environment for statistical computing and visualisation, an open-source dialect of the S statistical computing language.