data("nfi_donghae")
# Basic usage
summary_stats <- summary_nfi(nfi_donghae, continuousplot = TRUE)
# Summarize by the group, including all land types
grouped_stats <- summary_nfi(nfi_donghae, plotgrp = "OWN_CD",
stockedland = FALSE, continuousplot = TRUE)
# Summarize by individual plots, including both trees and shrubs
plot_summaries <- summary_nfi(nfi_donghae, byplot = TRUE, talltree = FALSE)
Run the code above in your browser using DataLab