View source: R/coarsen_speciesRaster.R
coarsen_speciesRaster | R Documentation |
Return a speciesRaster object with a coarser resolution.
coarsen_speciesRaster(x, fact)
x |
object of class |
fact |
the aggregation factor as the number of cells in the horizontal and vertical directions. |
Species will be included in the coarser cell if they are found in
>= 50 percent of the original-resolution cells that are being aggregated.
This should be thought of as more of a convenience function for experimentation.
Creating a coarser resolution speciesRaster from species ranges with
createSpeciesRaster
is the more appropriate approach.
speciesRaster
with a coarser resolution.
Pascal Title
tamiasSpRas # coarsen such that groups of 4 cells are aggregated to 1 cell # (2 cells in horizontal and 2 cells in vertical directions) coarsen_speciesRaster(tamiasSpRas, fact = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.