Local Pattern Analysis

Describes spatial patterns of categorical raster data for any defined regular and irregular areas. Patterns are described quantitatively using built-in signatures based on co-occurrence matrices but also allows for any user-defined functions. It enables spatial analysis such as search, change detection, and clustering to be performed on spatial patterns (Nowosad (2021) ).


motif

CRANstatus GitHub action buildstatus Codecov testcoverage CRAN RStudio mirrordownloads

The motif package implements and extends ideas of the pattern-based spatial analysis in R. It describes spatial patterns of categorical raster data for any defined regular and irregular areas. Patterns are represented quantitatively using built-in signatures based on co-occurrence matrices but also allows for any user-defined functions. It enables spatial analysis such as search, change detection, and clustering to be performed on spatial patterns.

Installation

You can install the released version of motif from CRAN with:

install.packages("motif")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("Nowosad/motif")

Documentation

See the package’s vignettes:

  1. Introduction to the motif package
  2. Types of spatial patterns’ signatures
  3. Spatial patterns’ search
  4. Spatial patterns’ comparision
  5. Spatial patterns’ clustering
  6. Extracting the proportion of different classes in many regular local landscapes

Contribution

Contributions to this package are welcome. The preferred method of contribution is through a GitHub pull request. Feel free to contact us by creating an issue.

Citation

To cite the motif package in publications, please use this paper:

Nowosad, J. Motif: an open-source R tool for pattern-based spatial analysis. Landscape Ecol (2021). https://doi.org/10.1007/s10980-020-01135-0

LaTeX/BibTeX version can be obtained with:

library(motif)
citation("motif")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("motif")

0.6.5 by Jakub Nowosad, a year ago


https://jakubnowosad.com/motif/


Report a bug at https://github.com/Nowosad/motif/issues


Browse source code at https://github.com/cran/motif


Authors: Jakub Nowosad [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports comat, philentropy, Rcpp, sf, stars, tibble

Suggests covr, dplyr, spdep, knitr, rmarkdown, testthat, terra

Linking to comat, Rcpp, RcppArmadillo


See at CRAN