- areas
Vector containing area names. It represents the set of areas we are interested
in. If NULL
, all areas of the study are used.
- exclude
Vector containing area names. If not NULL
, all links connected to
one of these areas are omitted.
- opts
list of simulation parameters returned by the function
setSimulationPath
- internalOnly
If TRUE
, only links that connect two areas from parameter areas
are returned.
If not, the function also returns all the links that connect an area from the list with
an area outside the list.
- namesOnly
If TRUE
, the function returns a vector with link names, else it
returns a table containing the name, the origin and the destination of each
selected link.
- withDirection
Used only if namesOnly = FALSE
. If FALSE
, then the function
returns a table with one line per link, containing the link name, the
origin and the destination of the link. If TRUE
, then it returns a
table with columns area
, link
, to
and direction
which is equal is equal to
1 if the link connects area
to to
and -1 if it connects
to
to area
.
The column area
contains only areas that are compatible with parameters
areas
and exclude
. Note that the same link can appear twice
in the table with different directions.
- withTransmission
Used only if namesOnly = FALSE
. If TRUE
, a column is added to indicate
type of transmission capacities for links.