Description Usage Arguments Value
View source: R/tempflow-basics.R
Is a function that takes a 'tempflow'-object and a vector of strings, and adds new points, with the specified point-names, to the 'tempflow'-object.
1 2 3 | ## S3 method for class 'tempflow'
add_points(tempFlow, newPointList, attrList = NULL,
safe = TRUE)
|
tempFlow |
A 'tempflow'-object. |
attrList |
A vector to specify other vertex attributes. If left NULL, no attributes (other than name) will be assigned to the newly introduced points in time. Otherwise, this list has to be structured as required by the function igraph::add.vertices. |
safe |
If TRUE, it will be ensured that point-names remain unique; that point-names remain strings. Additionally, the usual tempflow condition are checked (e.g. duplicate names, cycles, ... ). |
addPointList |
A vector containing the strings that represent the names of the points that ought to be added. |
A new 'tempflow'-object, constructed by adding points with the specified names to the given 'tempflow'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.