Find order of variables based on a specified scagnostic measure by maximizing the index values of that measure along the path.
scag_order(scag, vars, measure)
scagnostics
object
character vector of the variables to be ordered
scagnostics measure to order according to
character vector of variable ordered according to the given scagnostic measure