get_plots_cbh_bp {LadderFuelsR}R Documentation

Plot of the Canopy Base Height (CBH) based on the breaking point method

Description

This function plots the canopy 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)

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.

Value

A plot of the Canopy 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 and JM Moreno

See Also

get_cum_break

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)
}

[Package LadderFuelsR version 0.0.4 Index]