Creates a new instance of the fs_nnindex function and
initialises it with zone and unit information.
gen_nnindex(zone, zoneField = NULL, unit = "m")
| zone | A spatial polygon object of |
|---|---|
| zoneField | (Optional) Column name of unique identifiers in |
| unit | character or |
This is a function factory. It creates a partial function in order
to allow fs_nnindex to be used by the internal loop of
calculate_footstats. This function will generally not be used on its
own.