popPROP: 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
popPROP(network, population)

Arguments

population

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

dta

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

Value

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

Examples

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

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