shortenNET: Generate a random network

Description Usage Arguments Value Examples

View source: R/shortenNET.R

Description

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

Usage

1
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

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

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