Description Usage Arguments Value Author(s) See Also Examples
List slot values of bp2 model objects. Returns value is a follower list for objs that can be processed further with different graph packages
1 | bp2.find.followers(objs, include.slots=NA, exclude.slots=NA)
|
objs |
List of bp2 model objects or vector of model object ids in the active model. |
include.slots |
If value other than NA is specified get only valued of names slots. Otherwise use all slots. |
exclude.slots |
Don't read the values of these slots. |
Returns list that contains one entry for each object id provided as an argument. Each list entry is a vector of integers that are IDs of other objects that are connected to the object.
Ossi Koivistoinen
bp2.minimum.spanning.tree
, bp2.create.model
1 2 3 4 5 6 7 8 | # Create follower list for all objects using all possible connections
my.bp2 <- bp2.create.model(...)
follower.list <- bp2.find.followers(my.bp2@all.objects)
# See how many different control types there are
controls <- bp2.get.instances.of(my.bp2@all.objects, "bp2.control")
control.types <- bp2.find.followers(controls, include.slots=''controlType'')
table(control.types)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.