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

Description Usage Arguments Value Examples

View source: R/popPROP.R

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

network

network of connections between sites

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

KiranLDA/migflow documentation built on Aug. 8, 2019, 8:55 p.m.