Skip to contents

Get the order of the categorical horizons for plotting

Usage

order_phases(df)

Arguments

df

a dataframe containing the column name phase which will contain character strings indicating the phase of the epidemic (increasing, decreasing, peak, or nadir) of the score/quantile/sample.

Value

a dataframe containing the same columns as df but with the addition of fig_order and reordered in terms of fig_order for plotting.