Tag Archives: code

Modeling the spatial distribution of soil properties by Generalized Least Squares regression

Assessing the spatial distribution of soil properties has achieved considerable interest among soil scientists, both for testing hypotheses about the soil formation processes and for predicting the properties of soils at non-sampled locations (mapping). In our article recently accepted for publication in Journal of Soil and Water Conservation we discuss the main approaches to modeling […]

Generating spatially correlated random fields with R

In several occasions I needed to generate synthetic data with a desired level of spatial autocorrelation. Here I will show how to generate as many such fields as we need by using R, an open-source port of the S language for statical analysis. I will concentrate on two alternative ways of generating spatially correlated random […]