net.obs.period {networkDynamic}R Documentation

Network attribute describing the observation properties of a networkDynamic object

Description

net.obs.period is an optional network-level attribute that gives meta-information about the characteristics of the observations, time range and temporal model of a networkDynamic object.

Format

If the attribute is present, it is required to have a specific structure. It is a 4-element list with named values.

Details

Some functions that work with networkDynamic objects need to know information about the observation design of the network. Is it discrete or continuous time model? When did the observation (or simulation) of the network processes start and end? What are the time units? This information may be stored in the optional net.obs.period network attribute.

Some examples of possible net.obs.period values for various networks:

References

Link to page on statnet wiki?

See Also

Several of the networkDynamic converter functions set the net.obs.period attribute on their output object. See also activity.attribute

Examples

nd<-network.initialize(5)
activate.vertices(nd,onset=0,terminus=100)
set.network.attribute(nd,'net.obs.period',list(observations=list(c(0,100)),
                      mode="discrete", time.increment=1,time.unit="step"))
# find the overall `expected' time range for the object
range(get.network.attribute(nd,'net.obs.period')$observations)

[Package networkDynamic version 0.11.4 Index]