get_plots_cbh_bp {LadderFuelsR} | R Documentation |
Plot of the Crown Base Height (CBH) based on the breaking point method
Description
This function plots the crown base height (CBH) based on breaking point over the cummulative LAD values and gives the LAD percentage of the canopy layer
Usage
get_plots_cbh_bp(LAD_profiles, cummulative_LAD, min_height = 1.5)
Arguments
LAD_profiles |
original tree Leaf Area Density (LAD) profile (output of [lad.profile()] function from leafR package). An object of the class text. |
cummulative_LAD |
tree metrics derived from using breaking points on cummulative LAD (output of [get_cum_break()] function). An object of the class text. |
min_height |
Numeric value for the actual minimum base height (in meters). |
Value
A plot of the Crown Base Height (CBH) based on the breaking point method and Leaf Area Density (LAD) percentage of the canopy layer.
Author(s)
Olga Viedma, Carlos Silva, JM Moreno and A.T. Hudak
See Also
Examples
library(ggplot2)
library(dplyr)
# LAD profiles derived from normalized ALS data after applying [lad.profile()] function
LAD_profiles <- read.table(system.file("extdata", "LAD_profiles.txt", package = "LadderFuelsR"),
header = TRUE)
LAD_profiles$treeID <- factor(LAD_profiles$treeID)
# Before running this example, make sure to run get_cum_break().
if (interactive()) {
cummulative_LAD <- get_cum_break()
LadderFuelsR::cummulative_LAD$treeID <- factor(LadderFuelsR::cummulative_LAD$treeID)
# Generate cumulative LAD plots
plots_cbh_bp <- get_plots_cbh_bp(LAD_profiles, cummulative_LAD,min_height = 1.5)
}
[Package LadderFuelsR version 0.0.6 Index]