revise_ArcInfo_nodelabels: Reset implicit node labels of an ArcInfo object

View source: R/MCFSolutions.R

revise_ArcInfo_nodelabelsR Documentation

Reset implicit node labels of an ArcInfo object

Description

Reset implicit node labels of an ArcInfo object

Usage

revise_ArcInfo_nodelabels(x, new, old_positions = 1L:length(new))

Arguments

x

an ArcInfo object

new

character; the new node labels (level sets for factors encoding arc start or end nodes)

old_positions

integer; positions for old levels with new levels vector

Value

ArcInfo object with new levels

Author(s)

Ben Hansen


markmfredrickson/optmatch documentation built on Sept. 11, 2022, 3:40 a.m.