View source: R/functions_data.R
defineGlobalAttribute | R Documentation |
This function allows to define a global attribute of the nodeset (i.e a variable that is identical for each node but changes over time).
defineGlobalAttribute(global)
global |
a data frame containing all the values this global attribute takes along time. |
For instance, seasonal climate changes could be defined as a
changing global attribute.
Then, this global attribute can be linked to the nodeset by using
linkEvents()
an object of class global.goldfish
seasons <- defineGlobalAttribute(data.frame(time = 1:12, replace = 1:12))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.