Description Usage Arguments Value
View source: R/utility_functions.R
Conversion of point pattern to community matrix Y
1 | ppp.to.comm(comm.ppp, dim.yx, plotstack = FALSE, clean = FALSE)
|
comm.ppp |
A marked point pattern of spatstat's 'ppp', where marks identify each point (individual) to a species. |
dim.yx |
Number of cells along the Y and X dimension of the raster. |
plotstack |
Logical. Should the raster for each species be plotted? |
clean |
Logical. Should only sites with positive abundance of at least one species be returned? |
A list containing the raster stack with rasters for each species, the abundance matrix Y, spatial coordinates of each site (grid cell), and number of cells.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.