Skip to content

How to extract resistance values from fitted conductance surface #9

Description

@j3ss42

Hi,

I have created an optimised conductance surface for categorical landcover variables (using loglinear conductance and mlpe) and plotted the conductance surface, and I would also like the resistance surface, and resistance values for each landcover type, scaled between 1 - 100.

However, I am not sure how to calculate this from the conductance surface.

According to the radish manual, "conductance[i] = exp(covariates[i,] %*% theta)", and conductance = 1/ resistance, so would resistance_surface <- 1/ log(conductance_surface) be correct, and then scale the outputs to the desired range?

Many thanks,

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions