get_centers.RdHelper function to calculate centers for the PC model.
get_centers(df, category_col = "category", value_col = "value")
| df | dataframe with decile data |
|---|---|
| category_col | column with categorical definitions for deciles |
| value_col | Name of values to be output. |