Changes between Version 21 and Version 22 of NetworkDynamicConverterFunctions
- Timestamp:
- 11/13/12 09:18:14 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NetworkDynamicConverterFunctions
v21 v22 17 17 networkDynamic(base.net=NULL,edge.toggles=NULL,vertex.toggles=NULL, 18 18 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,...) 20 20 }}} 21 21 … … 45 45 end:: The end of the observation period describing the network (used to define censoring) 46 46 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 47 49 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. 48 50 … … 56 58 57 59 start <= end 60 61 start and end OR net.obs.period specified, but not both 58 62 59 63 base.net is NULL or a network … … 93 97 94 98 Determines 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 95 101 96 102 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? … … 141 147 142 148 143 set start and end censoring on nD observation attribute .149 set 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"}}} 144 150 145 151 return constructed networkDynamic.