Skip to contents

Uses HOOD_158 (the 158-neighbourhood scheme) and reports a Gini coefficient plus the cumulative share of incidents in the top-10 and top-20 neighbourhoods.

Usage

morie_tps_neighbourhood_concentration(df, ds_name = "?")

Arguments

df

A TPS crime data.frame.

ds_name

Optional dataset label used in the result title.

Value

A morie_tps_result list with payload$gini, payload$n_hoods, payload$p_top10, payload$p_top20.