Package: multiScaleR 0.7.4

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.4.tar.gz
multiScaleR_0.7.4.zip(r-4.7-x86_64)multiScaleR_0.7.4.zip(r-4.7-arm64)multiScaleR_0.7.4.zip(r-4.6-x86_64)multiScaleR_0.7.4.zip(r-4.6-arm64)multiScaleR_0.7.4.zip(r-4.5-x86_64)
multiScaleR_0.7.4.tgz(r-4.6-x86_64)multiScaleR_0.7.4.tgz(r-4.6-arm64)multiScaleR_0.7.4.tgz(r-4.5-x86_64)multiScaleR_0.7.4.tgz(r-4.5-arm64)
multiScaleR_0.7.4.tar.gz(r-4.7-arm64)multiScaleR_0.7.4.tar.gz(r-4.7-x86_64)multiScaleR_0.7.4.tar.gz(r-4.6-arm64)multiScaleR_0.7.4.tar.gz(r-4.6-x86_64)
multiScaleR_0.7.4.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.49 score 4 stars 15 scripts 557 downloads 19 exports 64 dependencies

Last updated from:87bf8779fe. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK309
linux-devel-x86_64OK391
source / vignettesOK598
linux-release-arm64OK450
linux-release-x86_64OK600
macos-release-arm64OK433
macos-release-x86_64OK857
macos-oldrel-arm64OK397
macos-oldrel-x86_64OK632
windows-devel-arm64OK590
windows-devel-x86_64OK347
windows-release-arm64OK604
windows-release-x86_64OK721
windows-oldrel-x86_64OK488
wasm-releaseOK356

Exports:aic_tabbic_tabdiagnosticsestimate_multiscale_ramkernel_distkernel_prepkernel_prep_by_groupkernel_scale.rasterkernel_varlandscape_varmsr_varsmultiScale_optimplot_kernelplot_marginal_effectsprofile_sigmasim_datsim_dat_unmarkedsim_rastsurface_var

Dependencies:AICcmodavgclassclassIntclicowplotcpp11crayonDBIdotCall64dplyre1071exactextractrfarverfieldsgenericsggplot2gluegtableinsightisobandKernSmoothlabelinglatticelifecyclemagrittrmapsMASSMatrixnlmeoptimParallelpillarpkgconfigproxypsclR6rasterrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangs2S7scalessfspspamsurvivalterratibbletidyselectTMBunitsunmarkedutf8vctrsVGAMviridisLitewithrwkxtable

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-10-19
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-10-19
Started: 2023-04-16

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-10-19
Started: 2026-06-10

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-10-09
Started: 2026-05-03

Using Year-Specific Rasters in One Model
Build aligned annual maps and observations | Prepare one pooled set of covariates | Fit one relationship across years | Project the fitted relationship onto each annual map | Quick reference

Last update: 2026-09-26
Started: 2026-09-26

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