The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

multiScaleR: Estimate Scales of Effect for Spatial Ecological Models

Estimates the scale of effect, the distance over which a landscape variable influences an ecological response. Raster values around each sample location are weighted with a distance kernel, and the kernel scale that maximizes the likelihood of a fitted regression model is found. Works with linear, generalized linear, additive, and mixed models, with 'unmarked' occupancy, abundance, and distance-removal models, and with step-selection models, and fits Bayesian models in which scales vary among years or with covariates. Also provides kernel-weighted landscape and surface metrics, cross-validation, model selection tables, fast kernel smoothing of rasters for mapping predictions, and simulation of data with known scales of effect. For more details see Peterman (2026) <doi:10.1007/s10980-025-02267-x>.

Version: 1.0.1
Depends: R (≥ 4.3), terra
Imports: digest, Rcpp, Matrix, cowplot, dplyr, fields, ggplot2, insight, stats, utils, tools, unmarked, exactextractr, crayon, parallel, optimParallel, AICcmodavg, methods, sf, graphics, grDevices
LinkingTo: Rcpp, RcppArmadillo
Suggests: bayesplot, glmmTMB, TMB, RTMB (≥ 2.0), tmbstan (≥ 1.2.1), rstan, posterior (≥ 1.6.0), knitr, landscapemetrics, geodiv, rmarkdown, MASS, lme4, lpSolve (≥ 5.6.23), gmp (≥ 0.7-5.1), mgcv, nlme, pkgload, processx, ps, pscl, survival, amt, spaMM, splines, testthat (≥ 3.0.0)
Published: 2026-11-19
DOI: 10.32614/CRAN.package.multiScaleR
Author: Bill Peterman ORCID iD [aut, cre]
Maintainer: Bill Peterman <Peterman.73 at osu.edu>
BugReports: https://github.com/wpeterman/multiScaleR/issues
License: GPL-3
URL: https://wpeterman.github.io/multiScaleR/, https://github.com/wpeterman/multiScaleR
NeedsCompilation: yes
Citation: multiScaleR citation info
Materials: README, NEWS
CRAN checks: multiScaleR results

Documentation:

Reference manual: multiScaleR.html , multiScaleR.pdf
Vignettes: 01. Quick start (source, R code)
02. User guide (source, R code)
03. Mapping Predictions and Limiting Extrapolation (source, R code)
04. Landscape Metrics as Covariates (source, R code)
05. Surface Texture Metrics as Covariates (source, R code)
06. Using Year-Specific Rasters in One Model (source, R code)
07. Choose a Fitting Method for Your Model (source, R code)
08. Cross-Validate Scale-of-Effect Models (source, R code)
09. What Your Estimates and Intervals Mean (source, R code)
10. Estimate Scales of Effect in Step-Selection Models (source, R code)
11. Account for Spatial Autocorrelation with a Spatial Field (source, R code)
12. Fit Distance-Removal Models with Scales of Effect (source, R code)
13. Estimate Scales of Effect with a Bayesian Model (source, R code)
14. Predict New Sites and Years from a Bayesian Model (source, R code)
15. Choose and Check a Bayesian Computation Method (source, R code)

Downloads:

Package source: multiScaleR_1.0.1.tar.gz
Windows binaries: r-devel: multiScaleR_1.0.1.zip, r-release: multiScaleR_1.0.1.zip, r-oldrel: multiScaleR_0.7.2.zip
macOS binaries: r-release (arm64): multiScaleR_1.0.1.tgz, r-oldrel (arm64): multiScaleR_1.0.1.tgz, r-release (x86_64): multiScaleR_1.0.1.tgz, r-oldrel (x86_64): multiScaleR_1.0.1.tgz
Old sources: multiScaleR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=multiScaleR to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.