GithubHelp home page GithubHelp logo

leeclab / rpi Goto Github PK

View Code? Open in Web Editor NEW
1.0 8.0 0.0 14 KB

Road Permeability Index function (RPI) Description: This function aims at calculating potential fauna crossing at road positions by estimating the chance of a taxon to cross any road position.

rpi's Introduction

RPI

Road Permeability Index function (RPI) Description: This function aims at calculating potential fauna crossing at road positions by estimating the chance of a taxon to cross any road position. It is based on qualitative, reliable expert opinion integrated with landscape attributes and road structures. This index can help identify potential location of road kill hotspots where no data are available.

Input parameters: (V, ek, es)
  V   matrix n x m of presence (1) and absence (0) of each variable (k) in each location (l).
	    n   total number of locations (l)
	    l		each location (we use l instead of i in the function to avoid conflict with R language)
	    m		total number of variables (k)
	    k		each landscape or road variable
	    t		total number of taxa (j)
	    j		each taxon

  ek  dataframe with Eljk value for each location (l) x	taxon (j) x variable (k).
	
eg.
	local	taxa	var1		var2		var3
	l1		j1		E111		E112		E113
	l2		j1		E211		E212		E213
	l1		j2		E121		E122		E123
	l2		j2		E221		E222		E223

	  Eljk  represents the influence of each variable (k) on each taxon (j) in a location (l).
          E value is assigned by experts as positive (1), indifferent (0) or negative (-1).
          NA is used when variable is not present in the location.
      
es  optional dataframe with expert weights (ε, numeric). Default is equal weights for all experts.

eg.
	expert   weight
	s1       ε1	
	s2       ε2	
  Output: List of 3
      $ RPI_i: 	a vector with average value of RPI for all taxa	in each location.
      $ RPI_ij:	a matrix with RPI value for each taxon at each location.
      $ w_kj: 	a matrix with the average E value for each variable (k) and taxon (j) considering the locations where k is present.			

This repository provides the R code and sample input for calculating thr Road Permeability Index. This files are supplementary material for the article: Assis JC, Giacominni H, Ribeiro MC (under review) Road Permeability Index: evaluating the heterogeneous permeability of roads for wildlife crossing.

No rights are reserved anywhere in the world. Feel free to use, share, and modify.

rpi's People

Contributors

julia-cassis avatar

Stargazers

 avatar

Watchers

James Cloos avatar Bernardo Brandão Niebuhr avatar John Wesley Ribeiro avatar  avatar Maurício Vancine avatar Renata Muylaert avatar  avatar Ligia P. S. Salzano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.