Create an ipm_stand object representing a forest plot
Value
An object of S3 class "ipm_stand" with fields $trees
(data.frame with standardized columns size_mm and species_id),
$species (character vector of unique species IDs), and
$plot_size (numeric scalar).
Examples
df <- data.frame(size_mm = c(150, 200, 350),
species_id = "ABIBAL",
plot_size = 1000)
s <- stand(df)
print(s)
#> <ipm_stand> 3 trees | 1 species | 1000 m2 plot