from_to_stats: From To function

View source: R/fromto.R

from_to_statsR Documentation

From To function

Description

Calculate edges weight from IATA Code

Usage

from_to_stats(x, y, orig)

Arguments

x

igraph object to query

y

origin airport IATA code

orig

"from" or "to" options

Examples

## Not run: 
netDir <- make.netDir(OD_Sample)
from_to_stats(netDir$gDir, "JFK", orig = "from")

from_to_stats(netDir$gDir, "JFK", orig = "to")

## End(Not run)


skynet documentation built on June 17, 2022, 5:05 p.m.