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).

make_global_attribute(global)

make_global_attribute_goldfish(global)

Arguments

global

a data frame containing all the values this global attribute takes along time.

Value

an object of class global.goldfish

Details

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 link_events()

Examples

seasons <- make_global_attribute(data.frame(time = 1:12, replace = 1:12))