Closed cynthiahqy closed 1 year ago
Previously posted in #67
Crossmaps are generally one-way, but if we look at link types:
Provide a helper method to "invert" a crossmap which:
col_from
col_to
col_weights
You could provide this method for any xmap subclass:
xmap
xmap_invert(xmap, ...)
xmap_invert.xmap_df(xmap, .name_weights = "new_weights")
The use-cases include:
done with #86, though might be modified depending on #67 implementation
Previously posted in #67
Reversing Crossmaps
Crossmaps are generally one-way, but if we look at link types:
Provide a helper method to "invert" a crossmap which:
col_from
andcol_to
attributescol_weights
attribute accordinglyYou could provide this method for any
xmap
subclass:xmap_invert(xmap, ...)
xmap_invert.xmap_df(xmap, .name_weights = "new_weights")
The use-cases include: