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

View source: R/popPROP.R

popPROPR Documentation

Calculate the proportion of population that can flow into each site

Description

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

Usage

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

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 June 14, 2025, 9:09 a.m.