Generate a vector of integer indices for mapping ED state cohort vectors onto patches, for instance for use with tapply.

patch_cohort_index(nc)

Arguments

nc

ncdf4 object for ED history restart file.