Skip to content

Custom distance matrices for spatial autocorrelation? #217

Description

@BertvanderVeen

Discussed in #216

Originally posted by dhercar March 29, 2025
Thanks so much for developing this great package and all the recent updates.

I am currently working with river communities (fish, algae, macroinvertebrates, etc. ) across relatively large spatial scales, and I would like to incorporate spatial autocorrelation into our models. However, geographic distance is not very meaningful for taxa groups that can only move within the river network, such as fish. Would it be possible to make dist and distLV take a custom distance matrix directly, instead of spatial coordinates? This might also be useful for users dealing with spatial barriers.

Many thanks!
Daniel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions