Convert a grouped-statistics result to a data frame

change_grouped_stats_to_csv(out)

Arguments

out

A list of grouped statistics with a deciles vector.

Value

A data frame with one column per decile and no deciles list column.

Examples

change_grouped_stats_to_csv(list(country = "AGO", deciles = c(0.1, 0.2)))
#>   country decile1 decile2
#> 1     AGO     0.1     0.2