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 Dec. 7, 2024, 7:08 a.m.