validate_fe_stand {ForestElementsR} | R Documentation |
Validate an fe_stand Object
Description
Regular users will not require this function. Expert users will want to use
it in combination with the constructor new_fe_stand
. Regular
users, please construct fe_stand
objects with fe_stand
.
Usage
validate_fe_stand(x)
Arguments
x |
An object that is expected to be a correct |
Value
Returns x
, but this function is mainly called for its side
effect which is pointing out any violations of the fe_stand
object
specifications. In case of such violations, the function will terminate
with an error.
Examples
# Validate the example stands
validate_fe_stand(norway_spruce_1_fe_stand)
validate_fe_stand(european_beech_1_fe_stand)
validate_fe_stand(spruce_beech_1_fe_stand)
selection_forest_1_fe_stand |> validate_fe_stand()
[Package ForestElementsR version 2.1.0 Index]