Package: terradish 1.1.0
terradish: Fast Gradient-Based Optimization of Resistance Surfaces
Maximum likelihood estimation of landscape conductance surfaces from genetic data on raster graphs, using Newton and quasi-Newton optimization with analytic derivatives. Fits log-linear conductance models with optional joint estimation of Gaussian smoothing scales and spline response shapes, linked to pairwise genetic distances through maximum likelihood population effects models or to allele-frequency covariance through a Wishart likelihood on site contrasts, with the same pairwise distance and environment covariates available in both. Provides exact sparse and iterative solvers for large rasters, fixed-domain spatial cross-validation for comparing conductance formulas, and simulation tools for study design. Works with 'terra' objects. Fitting one parameterized conductance surface to genetic data, rather than regressing on separate resistance distances, follows Peterman and Pope (2021) <doi:10.1111/mec.15716>. Background on population-effects models and circuit-based covariance models is provided by Clarke, Rothery and Raybould (2002) <doi:10.1198/108571102320> and Hanks and Hooten (2013) <doi:10.1080/01621459.2012.724647>, respectively.
Authors:
terradish_1.1.0.tar.gz
terradish_1.1.0.zip(r-4.7-x86_64)terradish_1.1.0.zip(r-4.7-arm64)terradish_1.1.0.zip(r-4.6-x86_64)terradish_1.1.0.zip(r-4.6-arm64)terradish_1.1.0.zip(r-4.5-x86_64)
terradish_1.1.0.tgz(r-4.6-x86_64)terradish_1.1.0.tgz(r-4.6-arm64)terradish_1.1.0.tgz(r-4.5-x86_64)terradish_1.1.0.tgz(r-4.5-arm64)
terradish_1.1.0.tar.gz(r-4.7-arm64)terradish_1.1.0.tar.gz(r-4.7-x86_64)terradish_1.1.0.tar.gz(r-4.6-arm64)terradish_1.1.0.tar.gz(r-4.6-x86_64)
terradish_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
terradish/json (API)
| # Install 'terradish' in R: |
| install.packages('terradish', repos = c('https://wpeterman.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/wpeterman/terradish/issues
- individual_salamanders - Simulated Individual Salamander Genotypes and Resistance Analyses
- melip.altitude - Melipona Example Data
- melip.coords - Melipona Example Data
- melip.forestcover - Melipona Example Data
- melip.Fst - Melipona Example Data
- ohio_ponds - Simulated Ohio Forest-Pond Genetic Data
Last updated from:960db5a5e4. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 283 | ||
| linux-devel-x86_64 | OK | 273 | ||
| source / vignettes | OK | 388 | ||
| linux-release-arm64 | OK | 285 | ||
| linux-release-x86_64 | OK | 265 | ||
| macos-release-arm64 | OK | 315 | ||
| macos-release-x86_64 | OK | 840 | ||
| macos-oldrel-arm64 | OK | 324 | ||
| macos-oldrel-x86_64 | OK | 737 | ||
| windows-devel-arm64 | OK | 423 | ||
| windows-devel-x86_64 | OK | 398 | ||
| windows-release-arm64 | OK | 455 | ||
| windows-release-x86_64 | OK | 292 | ||
| windows-oldrel-x86_64 | OK | 421 | ||
| wasm-release | OK | 182 |
Exports:aic_tableArmijoControlcheck_distance_responseconductanceconductance_surfacecov_from_bialleliccov_from_genetic_datacovariance_response_powercrop_to_focal_bufferdist_from_biallelicdist_from_covfst_from_biallelicgaussian_scale_profilegaussian_scale_summarygaussian_smoothed_loglinear_conductancegeneralized_wishartHagerZhangControlleastsquaresloglinear_conductancelowermlpemlpe_covariatesmlpe_response_changeNewtonRaphsonControlpairwise_covariatespairwise_endpoint_covariatespca_distradishradish_algorithmradish_distanceradish_gridscale_covariatesscale_to_0_1simulate_covariance_responseslim_terradishsmooth_loglinear_conductanceterra_radish_scale_optimterradishterradish_algorithmterradish_assess_settingsterradish_cv_foldsterradish_distanceterradish_foldsterradish_gridterradish_ibe_ratioterradish_rescale_nuterradish_scale_optimterradish_solver_benchmarkwishart_covariancewishart_covariates
Dependencies:AICcmodavgclassclassIntclicowplotcpp11crayonDBIdotCall64dplyre1071exactextractrfarverfieldsgenericsggplot2gluegtableinsightisobandKernSmoothlabelinglandgraphlatticelifecyclemagrittrmapsMASSMatrixmultiScaleRnlmeoptimParallelpillarpkgconfigproxypsclR6rasterrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangs2S7scalessfspspamsurvivalterratibbletidyselectTMBunitsunmarkedutf8vctrsVGAMviridisLitewithrwkxtable
Last update: 2026-10-28
Started: 2026-10-28
Last update: 2026-10-28
Started: 2026-05-05
Last update: 2026-10-28
Started: 2026-04-09
Last update: 2026-10-28
Started: 2026-04-03
Last update: 2026-10-28
Started: 2026-10-28
Last update: 2026-10-28
Started: 2026-10-28
Last update: 2026-10-28
Started: 2026-04-01
Last update: 2026-10-28
Started: 2026-06-15
Last update: 2026-10-28
Started: 2026-04-03
Last update: 2026-10-28
Started: 2026-10-28
Last update: 2026-10-28
Started: 2026-05-29
Last update: 2026-10-28
Started: 2026-05-12
