Changes between Version 5 and Version 6 of NetworkDynamicConverterFunctions


Ignore:
Timestamp:
10/01/12 11:32:35 (7 years ago)
Author:
skyebend
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkDynamicConverterFunctions

    v5 v6  
    5151 networkDynamicFromSpells(startNet=NULL, edge.spells=NULL,vertex.spells=NULL, ...<rest of network properties>):: create/populate a nD using edge and/or vertex spells? Spells are any object convertible into a matrix. Edges assume format as [tail,head,onset,terminus], vertices [vertex.id,onset,terminus] 
    5252 
    53  networkDynamicFromNetworks(network.list,onsets=seq(from=0,length=length(network.list)),termini=seq(from=1,length=length(network.list),vertex.pid=NULL):: create a nD object using a list of networks (or objects like matrices convertible to networks). Timing of each panel of vertex and edges . spells taken from onsets and termini arguments (defaults to [0,1].[1,2] etc..). If vertex.pid is set to the name of a network attribute, use that attribute as the vertex. id when constructing a network (for when inputs are not the same sizes.  
     53 networkDynamicFromNetworks(network.list,onsets=seq(from=0,length=length(network.list)),termini=seq(from=1,length=length(network.list),vertex.pid=NULL):: create a nD object using a list of networks (or objects like matrices convertible to networks). Timing of each panel of vertex and edges . spells taken from onsets and termini arguments (defaults to [0,1].[1,2] etc..). If vertex.pid is set to the name of a network attribute, use that attribute as the vertex. id when constructing a network (for when inputs are not the same sizes. Censoring of starting / ending networks? 
    5454 
    55  get.vertex.activity(nD, v=1:network.size(x),as.spellList=FALSE):: currently this returns a list of spell matrices.  Add argument to return same info as a single spell matrix [vertex.id,onset.terminus].   
     55 get.vertex.activity(nD, v=1:network.size(x),as.spellList=FALSE):: currently this returns a list of spell matrices, one for each v specified.  Add argument to return same info as a single spell matrix [onset.terminus,vertex.id].  Sort order by onset,terminus,vertex.id? Include attributes? 
    5656 
    57  get.edge.activity(networkDynamic,as.spellList=FALSE):: currently this returns a list of spell matrices.  Add argument to return same info as a single spell matrix [vertex.id,onset.terminus] 
     57 get.edge.activity(networkDynamic,as.spellList=FALSE):: currently this returns a list of spell matrices.  Add "start" and "end" arguments for specifying censoring. Add argument to return same info as a single spell matrix [onset,terminus,tail,head,left.censored, right.censored, duration, edge.id]. Sort order by onset,terminus,tail,head,eid?.  
    5858 
    5959 get.vertex.toggles(networkDynamic,base.net=FALSE):: Return an array of toggles [vertex.id,onset,terminus]. Optionally return a list, the first element of which is $base.net and has a network object with the first state of the network, second element ($toggles) is the toggle array. 
     
    6464 
    6565nDToSpells 
     66 
    6667as.nd.spells 
    6768 
     
    7172Should we use "fake" S3 method names to be consistent?  (i.e. networkDynamic.spell.list) 
    7273 
    73 Is it better to pass in a network object, or specify full list of network options (directed,bipartite,etc)?  
     74Is it better to pass in a network object to be populated, or specify full list of network options (directed,bipartite,etc)?  
    7475  
    7576For matrix input formats, better to assume column order, or allow specifying column indicies/names? 
    7677 
    7778Preferred format for returned data objects? (array, matrix, data.frame)? 
     79 
     80Censoring behavior (Inf should not automatically be censored, right) 
     81 
     82Implement for multiple head/tail set, or just return error? 
     83 
     84Support multiplex edges.  
     85 
     86Include missing edges / vertices in output? '''include.missing=FALSE''' If true, include extra column for missingness? 
     87 
     88Argument to include additional columns for attributes?  Or user should lookup using eids?  (simple attributes would be fine, but lists of objects might not work in data.frame output.) '''include.attrs=c("attrName1","attrName2")''' 
     89 
     90Support for non-numeric,non integer input ids. '''pid=attrName''' Sort into alphabetic order, assign to ids 1:n 
    7891 
    7992 
     
    8497 
    8598 
     99 
     100 
     101