Changes between Version 21 and Version 22 of NetworkDynamicConverterFunctions


Ignore:
Timestamp:
11/13/12 09:18:14 (7 years ago)
Author:
skyebend
Comment:

added more spec for censoring net.obs.period attribute

Legend:

Unmodified
Added
Removed
Modified
  • NetworkDynamicConverterFunctions

    v21 v22  
    1717networkDynamic(base.net=NULL,edge.toggles=NULL,vertex.toggles=NULL, 
    1818   edge.spells=NULL,vertex.spells=NULL,edge.changes=NULL,vertex.changes=NULL, 
    19    network.list=NULL,onsets=NULL,termini=NULL,vertex.pid=NULL,start,end...) 
     19   network.list=NULL,onsets=NULL,termini=NULL,vertex.pid=NULL,start=NULL,end=NULL,net.obs.period=NULL,...) 
    2020}}} 
    2121 
     
    4545 end:: The end of the observation period describing the network (used to define censoring) 
    4646 
     47 net.obs.period: alternate and more complete way to fully specify the observation period. see https://statnet.csde.washington.edu/trac/ticket/155 
     48 
    4749 construct.mode:: c("strict","warn","checkless","expand")   Need Better names. Specifies how carefully the object should be checked for consistency during construction. "strict"=fail if edges and vertex activity not aligned. "warn" warn if there are problems, but still create object if possible. "checkless" create object as quickly as possible, do not perform checks (if you know you are feeding it good data) "expand" define new activity spells for vertices when edges attach if needed, add new vertices if edge ids out of range, etc.  
    4850 
     
    5658 
    5759 start <= end 
     60  
     61 start and end OR net.obs.period specified, but not both 
    5862 
    5963 base.net is NULL or a network  
     
    9397 
    9498Determines if '''building from network list''', as that specifies both edge and vertex dynamics at the same time 
     99 
     100  If net.obs.period not specified, default to {{{list(observations=list(c(0,length(network.list)),mode="discrete", time.increment=1,time.unit="step")}}} replacing 0, length(network.list) with start and end if they are not null 
    95101 
    96102  If base.net is specified, constructs a new network with matching parameters.  If vertex or edges or attributes are present, adds them to new network as non-TEA attributes? 
     
    141147     
    142148 
    143 set start and end censoring on nD observation attribute.  
     149set start and end censoring on nD observation attribute {{{net.obs.period}}}. If net.obs.period not specified, default to {{{list(observations=list(c(start,end)),mode="discrete", time.increment=1,time.unit="step")}}} if start and end not null. If start and end not specified, default to smallest and largest observed time values. For toggles and changes, set {{{mode="discrete"}}} for spells, set {{{mode="continuous"}}} 
    144150 
    145151return constructed networkDynamic.