I'm trying to estimate slopes between patches, so need to find the minimum value of a patch variable called Elevation from all patches that are at radius 4 from a specific patch. Here is the code:
ask patch 27 35 [let x min-one-of patches in-radius 4 [Elevation]
print x]
but instead of the lowest value of Elevation, it prints: (patch 27 31). What can I do to have the value instead of coordinates?