validate_fe_stand_spatial: Validate an *fe_stand_spatial* Object

View source: R/fe_stand_spatial.R

validate_fe_stand_spatialR Documentation

Validate an fe_stand_spatial Object

Description

Regular users will not require this function. Expert users will want to use it in combination with the constructor new_fe_stand_spatial. Regular users, please construct fe_stand_spatial objects with fe_stand_spatial.

Usage

validate_fe_stand_spatial(x)

Arguments

x

An object that is expected to be a correct fe_stand_spatial object

Value

Returns x, but this function is mainly called for its side effect which is pointing out any violations of the fe_stand_spatial object specifications. In case of such violations, the function will terminate with an error.

Examples

  # Validate the example fe_stand_spatial object
  mm_forest_1_fe_stand_spatial |> validate_fe_stand_spatial()


ForestElementsR documentation built on April 3, 2025, 7:47 p.m.