Skip to content

spm2

1.1.3

Spatial Predictive Modeling

1packages depend
2.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jin LiFirst published 2021-10-083 releasesCRAN page ↗

An updated and extended version of 'spm' package, by introducing some further novel functions for modern statistical methods (i.e., generalised linear models, glmnet, generalised least squares), thin plate splines, support vector machine, kriging methods (i.e., simple kriging, universal kriging, block kriging, kriging with an external drift), and novel hybrid methods (228 hybrids plus numerous variants) of modern statistical methods or machine learning methods with mathematical and/or univariate geostatistical methods for spatial predictive modelling. For each method, two functions are provided, with one function for assessing the predictive errors and accuracy of the method based on cross-validation, and the other for generating spatial predictions. It also contains a couple of functions for data preparation and predictive accuracy assessment.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
11%
Documented parameters
96%
Return-value docs
100%
References docs
95%

Downloads

2.9K
CRAN downloads in the past year
Rank #14,417 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
19630 days
73590 days
2.9K1 year
Compare downloads with other packages →
Also on92 r2u23 autocran

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
1indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.3Latest
    2023-04-06 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.2
    2022-03-10 · diff ↗
  • 1.1.0
    2021-10-08
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-10-08
Total releases
3 / 5 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.10
Bundled data
56 KB / 3 files
Download size
113 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spm2")
Li, J. (2023). spm2: Spatial Predictive Modeling (Version 1.1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.spm2

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spm2 version 1.1.3 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy