This repository contains the code for case studies presented in Nowosad, J. Motif: an open-source R tool for pattern-based spatial analysis. Landscape Ecol (2020). https://doi.org/10.1007/s10980-020-01135-0.
To reproduce the following case studies, you need to install several R packages and download a set of data files.
You can find the packages' installation code in R/package-installation.R
and all of the steps neccesary to download the data are in R/data-download.R
.
- Basic signatures -
R/basic-signatures.R
- Spatial pattern search -
R/search.R
- Spatial pattern comparison -
R/comparison.R
- Spatial pattern clustering -
R/clustering.R