R/topological_sort.R
topological_sort.Rd
Topologically sort the state names so that states earlier in the flow of individuals come earlier in sorted order.
topological_sort(model)
flexmodel object
flexmodel
character vector of state names in topological order