get_point_name.tempnetwork: Given a point-id (or a point-name) this function returns the...

Description Usage Arguments Value

View source: R/tempnetwork-tempflow-getter.R

Description

Given a point-id (or a point-name) this function returns the corresponding point-name as defined in (the 'igraph'-object underlying) the 'tempflow'-object of the given 'tempnetwork'-object. If the given point-id or point-name is not present and if 'safe' has the value TRUE, an error will be thrown.

Usage

1
2
## S3 method for class 'tempnetwork'
get_point_name(tempNetwork, inpPoint, safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

inpPoint

Either a string representing the point-name or an integers representing the point-id.

safe

If TRUE, it will be tested, whether the given point-id (or point-name) is present in the 'tempflow'-object of the given 'tempnetwork'-object.

Value

The point-name of the point specified in "inpPoint" as currently defined in the 'tempflow'-object of the given 'tempnetwork'-object.


KonstantinRK/tempnetwork documentation built on Dec. 23, 2019, 6:40 p.m.