powered by
Landscape
simulateInitialPartition(n = 500, prop = 0.4, range = 10, xmin = 0, xmax = 5000, ymin = 0, ymax = 5000)
n
prop
# simulate a 5000m x 5000m landscape with 500 fields whose 40% (200) are sources simulateInitialPartition(n=500,prop=0.4,range=10,xmin=0,xmax=5000,ymin=0,ymax=5000)
Run the code above in your browser using DataLab