habitat_density<- {geohabnet} | R Documentation |
Set the habitat density.
Description
This function helps to set the SpatRaster of the habitat availability or density in a GeoNetwork object. The function is an S4 replacement method in the geohabnet package. It allows you to assign a host availability SpatRaster to a geohabnet object.
Usage
habitat_density(x) <- value
Arguments
x |
the GeoNetwork object. |
value |
SpatRaster. |
Value
The same object type as x, that is, GeoNetwork. This function returns the updated S4 GeoNetwork object with the new habitat availability SpatRaster assigned.
[Package geohabnet version 2.2 Index]