This function extracts the most likely cluster, which is the spatial or spatiotemporal window that corresponds to the scan statistic. It also returns the value of the scan statistc.
extract_mlc(table)
A data.table
with a column statistic
, which should
correspond to the statistic calculated for each spatial or space-time
window (given as other columns).
The row of the input table with the highest value of the column
statistic
.