add in a new set of functions to create proportional ties
for edgelist, can just group_by(from)%>%
mutate(tot_sum = sum(weight, na.rm=TRUE),
prop_weight = weight/tot_sum )
For affiliation matrix, or maybe bipartite,
can sweep out diagonal (function = division)
or pivot_longer into edgelist and then run function above
IF both I and j need to exceed a threshold, put that into filter conditions
add in a new set of functions to create proportional ties for edgelist, can just group_by(from)%>% mutate(tot_sum = sum(weight, na.rm=TRUE), prop_weight = weight/tot_sum )
For affiliation matrix, or maybe bipartite, can sweep out diagonal (function = division) or pivot_longer into edgelist and then run function above
IF both I and j need to exceed a threshold, put that into filter conditions