Skip to contents

this function removes all edges between the ego and alters in an ego network, leaving only the alter-alter connections visible. this is useful for visualizing the structure among alters without the clutter of ego connections.

Usage

remove_ego_edges(netlet)

Arguments

netlet

an ego network created with ego_netify()

Value

a modified netify object with ego edges removed

Author

cassy dorff, shahryar minhas

Examples

if (FALSE) { # \dontrun{
ego_net <- ego_netify(my_network, ego = "alice")
alter_only_net <- remove_ego_edges(ego_net)
plot(alter_only_net)
} # }