nodePopPROP: Calculate the proportion of population that can flow into...

Description Usage Arguments Value Examples

Description

This function calculates determines the proportion of the population flowing into a site - this is used to later parameterise preference

Usage

1
nodePopPROP(dta, population = 1000)

Arguments

dta

This is a dataframe. Columns of interest must be named: Site, Lat (for latitude), Lon (for longitude).

population

This is the total size of the populaiton or number of individuals allowed to flow through the network

Value

A matrix containing the proportion of the population able to flow into that

Examples

1
2
dta <- data.frame(Site= LETTERS[1:4], Lat= 1:4, Lon= 5:8, Pop=100:103)
nodePopPROP(dta, 300)

KiranLDA/maxflow documentation built on May 16, 2019, 11:03 a.m.