Local Pattern Analysis
Overview
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) doi:10.1007/s10980-020-01135-0).
- Forces dropping categories internally from the
SpatRasterobjects
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
Show 6 earlier changesHide 6 earlier changes
- OK13 OK2026-05-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-25
- ERROR11 OK, 2 NOTE, 1 ERROR2026-03-21
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 17 (1 internal)includes a package overview page
- Examples that run
- 86%12 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 6%
- intro-to-motif HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 14
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/nowosad/motif on 2026-10-18.
The R CMD check workflow runs on macOS
GitHub Pages site last deployed 2025-07-26 · The repository has a site deploy workflow
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.5Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.6.42023-06-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.12023-04-04 · diff ↗
- 0.5.22022-06-07 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.5.0
- 0.4.3
- RR 4.1.0 released · 2021-05-18
- 0.4.12021-02-05
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-05
- Total releases
- 7 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("motif")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s10980-020-01135-0.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.