get_point_names.tempflow: Given a vector of point-ids (or a vector of point-names) this...

Description Usage Arguments Value

View source: R/tempflow-getter.R

Description

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

Usage

1
2
3
## S3 method for class 'tempflow'
get_point_names(tempFlow, inpPointList = tP(tempFlow),
  safe = TRUE)

Arguments

tempFlow

A 'tempflow'-object.

inpPointList

Either a vector of strings representing point-names or a vector of integers representing a point-ids.

safe

If TRUE, it will be tested, whether the given point-ids (or point-names) are present in the 'tempflow'-object.

Value

The point-names of the points specified in "inpPointList" as currently defined in the 'tempflow'-object "tempFlow".


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