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

Description Usage Arguments Value

View source: R/tempflow-getter.R

Description

Given a vector of point-names (or a vector of point-ids) this function returns a vector containing the corresponding point-ids as defined in (the 'igraph'-object underlying) the given 'tempflow'-object. If one of the given point-names (or point-ids) 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_ids(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-names (or point-ids) are present in the 'tempflow'-object.

Value

The point-ids 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.