get_area_ha | R Documentation |
The function get_area_ha
will return the correct area for all
appropriate objects provided by ForestElementsR. While the
fe_stand
class contains this information directly, this is not
the case for the fe_stand_spatial
class. However,
get_area_ha
will work for both (and other objects to be implemented)
in the same way. In case the object x
does not contain sufficient
information, the function returns NULL.
get_area_ha(x)
x |
Object provided by ForestElementsR for which an area can be
meaningfully given, typically |
The object's area in ha. In case the object x
does not contain
sufficient information, the function returns NULL.
# Example for an fe_stand object
selection_forest_1_fe_stand |> get_area_ha()
# Example for an fe_stand_spatial object
mm_forest_1_fe_stand_spatial |> get_area_ha()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.