Description Usage Arguments Value
View source: R/tempflow-setter.R
Given a vector containing the current point-names (or point-ids) and a vector containing strings, this function changes the names of the specified points to the strings in the 'nameList'-vector.
1 2 3 | ## S3 method for class 'tempflow'
set_point_names(tempFlow, pointList = tP(tempFlow),
nameList = NULL, safe = TRUE)
|
tempFlow |
A 'tempflow'-object. |
pointList |
A vector containing the point-names (or point-ids) of the points which names ought to be changed. |
nameList |
A vector containing strings that ought to become the new names of the specified points. |
safe |
If TRUE, it will be ensured that the specified point-names (or point-ids) are present in the given 'tempflow'-object; the 'pointList'-vector and 'nameList'-vector are of the same length; that point-names remain unique; that point-names remain strings. |
A 'tempflow'-object, where the point-names of the points specified in the 'pointList'-vector are assigned the names given by the 'nameList'-vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.