kaijagahm / vultureUtils

Utility functions for working with vulture data
Other
4 stars 0 forks source link

makeGraph overhaul #30

Closed kaijagahm closed 1 year ago

kaijagahm commented 1 year ago

In this PR:

  1. Created makeGraph and sliceTemporal to deal with edgelists. In order to make graphs from a list of temporally-split edgelists, you take an edgelist (i.e. output of get*Edges()), put it into sliceTemporal, and then use map() to apply makeGraph to each of the resulting edgelists.
  2. Removed makeGraphs and makeGraphsList
  3. Added the ability, in makeGraph, to make either a weighted or an unweighted graph.
  4. Got rid of plotGraphs wrapper function. Not nearly flexible enough. Need either a function or just a vignette example of how to correctly plot graphs with fixed coordinates.