You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to have a function that allows us doing the following:
obj<- rdiffnet(...multiplebehavior...)
# If we wanted to split itobjs<- split_behaviors(obj) # So then objs is a list of diffnet objects# We could also go backobj1<- combine_behaviors(objs)
# And we should haveobj==obj1# TRUE
Because this way, instead of having functions doing:
if (multi.behavior) {
} else {
}
We could have them
# Start off by splitting (if it is a single behavior, will return a list# with a single objectdiffnet_list<- split_behaviors(diffnet_object)
# So both single and multiple have the same implementationfor (diffnetindiffnet_list) {
...
}
The text was updated successfully, but these errors were encountered:
gvegayon
changed the title
Split and merge function for rdiffnet
Split and merge function for diffnet objects
Nov 15, 2024
We need to have a function that allows us doing the following:
Because this way, instead of having functions doing:
We could have them
The text was updated successfully, but these errors were encountered: