shortenNET: Generate a random network

View source: R/shortenNET.R

shortenNETR Documentation

Generate a random network

Description

This function bridges one wintering node to another (rather than going through a supersink)

Usage

shortenNET(network, from = "Ssupersink", to = "Nsupersink")

Arguments

network

the network to be shortened

from

the site for the network to be shortened from

to

the site for the network to be shortened to

Value

a list containting the network which was randomly generated, the tracks that were randomly generated, and the sites that were randomly generated for animals to use.

Examples

par(mfrow=c(1,1))
net <- randomEIGHT(toplot=FALSE)$network
net <- shortenNET(net, from = "Ssupersink", to = "Nsupersink")


KiranLDA/migflow documentation built on June 14, 2025, 9:09 a.m.