Skip to contents

Iteratively trims a network so that the set of actors and the set of follows are identical. Also excludes rows with NA in either actors or follows columns or invalid handle. Finally, excludes actors with less that a certain number of followers within the network.

Usage

trim_net(net, threshold)

Arguments

net

tibble with network connections (edges). Assumed to contain two columns: actor_handle (the Blue Sky Social actor who is followING another) and follows_handle (the actor being followed).

threshold

the threshold for including actors in the expansion: How many followers must a prospect have, to be considered? If smaller than 1, threshold is used as a proportion: How big a proportion must a prospect have, to be considered?

Value

tibble with the expanded network