Well, it depends on what you want to do with those "missing" edges. You could add an edge to an igraph graph and then add an edge attribute named "missing" to it with value=TRUE, but all igraph algorithms will simply treat this edge as any other edge as they do not know anything about the semantics of the edge attribute that you have added. However, you can easily use the "missing" edge attribute in visualizations - for instance, you could set up the colors of the edges based on whether the associated "missing" attribute has value=TRUE or FALSE.
T. T. On Fri, Sep 25, 2015 at 3:41 AM, Khanna, Aditya [MED] <[email protected]> wrote: > Hello, > > I have a network dataset where a number of dyads are unobserved. Is it > possible to designate edges as missing in igraph objects? I have seen > something similar in the network package, but I am trying to assess if a > faster routine is available within igraph? > > Thanks, > Aditya > > ******************************************************************************** > This e-mail is intended only for the use of the individual or entity to which > it is addressed and may contain information that is privileged and > confidential. > If the reader of this e-mail message is not the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication is prohibited. If you have received this e-mail in error, please > notify the sender and destroy all copies of the transmittal. > > Thank you > University of Chicago Medicine and Biological Sciences > ******************************************************************************** > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
