getNextName | R Documentation |
This is used to name the first temperature found as 'temperature', the second as 'temperature2', etc.
getNextName(name, existingNames)
name |
character value indicating the variable name. |
existingNames |
vector of character values of existing variable names. |
[getNextName] returns a deconflicted version of 'name'.
Dan Kelley
library(oceglider)
e <- NULL
e <- c(e, getNextName("S", e))
e <- c(e, getNextName("T", e))
e <- c(e, getNextName("S", e))
e <- c(e, getNextName("T", e))
e <- c(e, getNextName("p", e))
print(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.