@@ -471,9 +471,8 @@ get.change.times <- function (x, vertex.activity=TRUE,edge.activity=TRUE, ignore
471471
472472
473473# Variant of get.edgeIDs with dynamic query support
474- get.edgeIDs.active <- function (x ,v ,alter = NULL ,neighborhood = c(" out" , " in" , " combined" ),
475- rule = c(" any" ," all" ," earliest" ," latest" ),na.omit = TRUE ,
476- onset = NULL ,terminus = NULL ,length = NULL , at = NULL ,
474+ get.edgeIDs.active <- function (x ,v ,alter = NULL ,neighborhood = c(" out" , " in" , " combined" ),na.omit = TRUE ,
475+ onset = NULL ,terminus = NULL ,length = NULL , at = NULL ,rule = c(" any" ," all" ," earliest" ," latest" ),
477476 active.default = TRUE ,... ){
478477
479478 if (missing(v )){
@@ -494,9 +493,9 @@ get.edgeIDs.active<-function(x,v,alter=NULL,neighborhood=c("out", "in", "combine
494493
495494# Variant of get.edges with dynamic query support. (Note: not safe in the long
496495# run...)
497- get.edges.active <- function (x ,v ,alter = NULL ,neighborhood = c(" out" , " in" , " combined" ),
496+ get.edges.active <- function (x ,v ,alter = NULL ,neighborhood = c(" out" , " in" , " combined" ),na.omit = TRUE ,
498497 onset = NULL ,terminus = NULL ,length = NULL , at = NULL ,
499- rule = c(" any" ," all" ," earliest" ," latest" ),na.omit = TRUE , active.default = TRUE ,... ){
498+ rule = c(" any" ," all" ," earliest" ," latest" ),active.default = TRUE ,... ){
500499 if (missing(v )){
501500 stop(" 'v' parameter must be specified with vertex id to indicate which vertex to search for incident edges" )
502501 }
@@ -514,8 +513,9 @@ get.edges.active<-function(x,v,alter=NULL,neighborhood=c("out", "in", "combined"
514513
515514
516515# Variant of get.neighborhood with dynamic query support. Slow, most likely.
517- get.neighborhood.active <- function (x ,v , type = c(" out" , " in" , " combined" ),rule = c(" any" ," all" ," earliest" ," latest" ),
518- na.omit = TRUE ,onset = NULL ,terminus = NULL ,length = NULL , at = NULL ,active.default = TRUE ,... ){
516+ get.neighborhood.active <- function (x ,v , type = c(" out" , " in" , " combined" ),
517+ na.omit = TRUE ,onset = NULL ,terminus = NULL ,length = NULL , at = NULL ,
518+ rule = c(" any" ," all" ," earliest" ," latest" ),active.default = TRUE ,... ){
519519 rule <- match.arg(rule )
520520 # get active edges and assemble neighborhood in questions
521521 if (! is.directed(x )){
0 commit comments