
Sort a GRiwrm network in upstream-downstream order ready for Calibration
Source:R/getNodeRanking.R
sort.GRiwrm.Rd
It Uses getNodeRanking for determining the best order for calibration and leaves direct injection nodes at the tail of the list.
Usage
# S3 method for class 'GRiwrm'
sort(x, decreasing = FALSE, ...)
Arguments
- x
A GRiwrm object (See CreateGRiwrm)
- decreasing
logical. Should the sort be increasing or decreasing? Not available for partial sorting.
- ...
arguments to be passed to or from methods or (for the default methods and objects without a class) to
sort.int
.