spsample: defining the size of the cell in an hexagonal grid
Dear list members, How can I define the size in hectares of the cell when doingan hexagonal grid with the function spsample. What it means "cellsize"? I want to create cell sizes according to some specific number of hectares. How can I do it? data(meuse.grid) gridded(meuse.grid) = ~x+y plot(meuse.grid) HexPts <-spsample(meuse.grid, type="hexagonal", cellsize=1000) HexPols <- HexPoints2SpatialPolygons(HexPts) plot(HexPols[meuse.grid,], add=TRUE)
*Manuel Sp?nola, Ph.D.* Instituto Internacional en Conservaci?n y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspinola at una.cr <mspinola at una.ac.cr> mspinola10 at gmail.com Tel?fono: (506) 8706 - 4662 Personal website: Lobito de r?o <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]]