Package: multiScaleR 0.7.0

multiScaleR: Methods for Optimizing Scales of Effect

A tool for optimizing scales of effect when modeling ecological processes in space. Specifically, the scale parameter of a distance-weighted kernel distribution is identified for all environmental layers included in the model. Includes functions to assist in model selection, model evaluation, efficient transformation of raster surfaces using fast Fourier transformation, and projecting models. For more details see Peterman (2026) <doi:10.1007/s10980-025-02267-x>.

Authors:Bill Peterman [aut, cre]

multiScaleR_0.7.0.tar.gz
multiScaleR_0.7.0.zip(r-4.7)multiScaleR_0.7.0.zip(r-4.6)multiScaleR_0.7.0.zip(r-4.5)
multiScaleR_0.7.0.tgz(r-4.6-x86_64)multiScaleR_0.7.0.tgz(r-4.6-arm64)multiScaleR_0.7.0.tgz(r-4.5-x86_64)multiScaleR_0.7.0.tgz(r-4.5-arm64)
multiScaleR_0.7.0.tar.gz(r-4.7-arm64)multiScaleR_0.7.0.tar.gz(r-4.7-x86_64)multiScaleR_0.7.0.tar.gz(r-4.6-arm64)multiScaleR_0.7.0.tar.gz(r-4.6-x86_64)
multiScaleR_0.7.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
multiScaleR/json (API)

# Install 'multiScaleR' in R:
install.packages('multiScaleR', repos = c('https://wpeterman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wpeterman/multiscaler/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

cppopenmp

6.26 score 3 stars 12 scripts 498 downloads 18 exports 64 dependencies

Last updated from:f451ec24e4. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK314
linux-devel-x86_64OK352
source / vignettesOK335
linux-release-arm64OK332
linux-release-x86_64OK400
macos-release-arm64OK248
macos-release-x86_64OK396
macos-oldrel-arm64OK237
macos-oldrel-x86_64OK467
windows-develOK345
windows-releaseOK336
windows-oldrelOK331
wasm-releaseOK190

Exports:aic_tabbic_tabdiagnosticsestimate_multiscale_ramkernel_distkernel_prepkernel_scale.rasterkernel_varlandscape_varmsr_varsmultiScale_optimplot_kernelplot_marginal_effectsprofile_sigmasim_datsim_dat_unmarkedsim_rastsurface_var

Dependencies:AICcmodavgclassclassIntclicowplotcpp11crayonDBIdotCall64dplyre1071exactextractrfarverfieldsgenericsggplot2gluegtableinsightisobandKernSmoothlabelinglatticelifecyclemagrittrmapsMASSMatrixnlmeoptimParallelpillarpkgconfigproxypsclR6rasterrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangs2S7scalessfspspamsurvivalterratibbletidyselectTMBunitsunmarkedutf8vctrsVGAMviridisLitewithrwkxtable

Landscape Metric Covariates
Why explicit covariate specifications? | Landscape metric reference | Composition metrics | Edge metrics | Adjacency metrics | Information theory metrics | Class-level metrics | Load example data | Define derived covariates | Prepare model data | Optimize the kernel covariate | Project derived covariates to rasters | Producing landscape metric rasters without a fitted model | Separating composition from configuration | Optimizing landscape metric radii | Practical guidance | See also | References

Last update: 2026-06-30
Started: 2026-05-03

multiScaleR Quick-Start Guide
What is multiScaleR? | Installation | The Core Workflow | A Complete Example | Load the package and data | Prepare inputs with kernel_prep() | Fit an initial model | Optimize scales of effect | Examine results | Visualize kernel decay and covariate effects | Diagnose the likelihood surface | Project the fitted model to the landscape | Quick-Reference: Full Workflow | Learn More

Last update: 2026-06-30
Started: 2026-04-06

multiScaleR User Guide
Background | The scale-of-effect problem | What multiScaleR does | A Conceptual Road Map | Distance-weighted Effects | Choosing a kernel | Preparing Data | Explore Data | kernel_prep | Performance and memory for large datasets | Analysis | multiScale_optim | Kernels | Model Selection | Why standard AIC is not enough | Optimization with unmarked | Poisson Count Model | Project model | Binomial Occurrence Model | Other model classes | Other Functions & Features | kernel_dist | plot_kernel | sim_rast | sim_dat

Last update: 2026-06-30
Started: 2023-04-16

Spatial Projection and Clamping
Introduction to Spatial Projection | From fitted model to landscape map | The extrapolation problem | What clamping does | This vignette | Demonstrating Clamping Under Controlled Extrapolation | Conceptual setup | Step 1: Simulate a known landscape and response surface | Step 2: Impose a biased sampling design | Step 3: Fit the multiscale model | The Extrapolation Problem | Seeing extrapolation in practice | Understanding and Applying Clamping | How clamping works | The pct_mx argument: tuning the guardrail | Comparing different clamping settings | Quantifying prediction error: inside vs. outside the sampled domain | Key Takeaways | Practical guidance

Last update: 2026-06-30
Started: 2026-03-26

Surface Texture Covariates
What surface texture covariates measure | Surface metric reference | A note on scale | Load example data | Define derived covariates | Prepare model data and fit | Optimize and interpret | Project covariates to rasters | Roughness surfaces without a fitted model | Distribution-shape and geometry surfaces | Optimizing the scale of roughness | Weighted roughness: the scale of effect of heterogeneity | Practical guidance | Quick reference | Summary of key functions | See also

Last update: 2026-06-30
Started: 2026-06-10