# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "terradish" in publications use:' type: software license: BSD-3-Clause title: 'terradish: Fast Gradient-Based Optimization of Resistance Surfaces' version: 1.1.0 doi: 10.5281/zenodo.21225711 abstract: 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) . Background on population-effects models and circuit-based covariance models is provided by Clarke, Rothery and Raybould (2002) and Hanks and Hooten (2013) , respectively. authors: - family-names: Peterman given-names: Bill email: peterman.73@osu.edu orcid: https://orcid.org/0000-0001-5229-9268 - family-names: Pope given-names: Nathaniel S. email: nspope@utexas.edu orcid: https://orcid.org/0000-0001-8409-7812 preferred-citation: type: manual title: 'terradish: Fast Gradient-Based Optimization of Resistance Surfaces' authors: - family-names: Peterman given-names: Bill email: peterman.73@osu.edu orcid: https://orcid.org/0000-0001-5229-9268 - family-names: Pope given-names: Nathaniel S. email: nspope@utexas.edu orcid: https://orcid.org/0000-0001-8409-7812 year: '2026' notes: R package version 1.1.0 doi: 10.5281/zenodo.21225711 url: https://doi.org/10.5281/zenodo.21225711 repository: https://wpeterman.r-universe.dev repository-code: https://github.com/wpeterman/terradish commit: 960db5a5e42c5e5245d667e40cc82cb44fd8dc20 url: https://doi.org/10.5281/zenodo.21225711 date-released: '2026-10-28' contact: - family-names: Peterman given-names: Bill email: peterman.73@osu.edu orcid: https://orcid.org/0000-0001-5229-9268