tempflow: Creates flow of time. Two major methods of addressing points...

Description Usage Arguments Value

View source: R/tempflow.R

Description

Creates flow of time. Two major methods of addressing points within the 'tempflow'-object, are either by name or by id. Names have to be string, meaning that if addressed by name it must be passed as string. Similarly, if addressed by id, the value passed must be an integer.

Usage

1
tempflow(inpGraph, setDefaultValues = FALSE, safe = TRUE)

Arguments

setDefaultValues

If TRUE, any invalid weight or name assignment will be replaced by its corresponding default assignments.

  • Under the default weight assignment, the weight of a loop-edge is 0 and of a non-loop-edge is 1.

  • Under the default name assignment, the name of a vertex is its current vertex-id (as assigned within the igraph package) as a string.

safe

If TRUE, it will be tested, whether inpGraph

  • is an 'igraph'-object;

  • is a directed and acyclic;

  • contains no duplicate edges;

  • has unique vertex names (of type string);

  • whether the edge attribute "weight" takes on non-negative, numerical values for each edge in the graph.

G

A directed acyclic 'igraph'-object.

Value

A flow of time object.


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