Skip to content

Remove plot.network()'s reliance on the internal representaion of 'network'? #93

Description

@krivit

Specifically,

use<-displayisolates|(((sapply(x$iel,length)+sapply(x$oel,length))>0))

relies on $oel and $iel solely to determine which nodes are isolates.
This means, e.g., networkLite objects has to implement its own function.

Probably the most elegant fix for this is to move the is.isolate() or maybe even degree() to network and make them generics, then have sna implement methods for whatever types it supports.

@CarterButts , thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions