AugustT / CEHCraft

Creating minecraft maps using CEH data
3 stars 3 forks source link

Split grassland between cattle types #20

Open AugustT opened 6 years ago

AugustT commented 6 years ago

We can do this using the clump function in raster

r <- raster(ncols=12, nrows=12)
set.seed(0)
r[] <- round(runif(ncell(r))*0.7 )
rc <- clump(r) 
freq(rc)
plot(rc)
AugustT commented 6 years ago

@GPowney You did this right?