plot_pavd: Graphs Plant Area Volume Density Profiles

View source: R/plot_pavd.R

plot_pavdR Documentation

Graphs Plant Area Volume Density Profiles

Description

plot_pavd produces a PAVD plot from matrix data

Usage

plot_pavd(m, filename, plot.file.path.pavd, hist = FALSE, save_output = FALSE)

Arguments

m

matrix of light adjusted vai values.

filename

the name of the file currently being processed.

plot.file.path.pavd

path of plot file to be written, inherited from process_pcl or process_multi_pcl

hist

logical input to include histogram of VAI, if TRUE it is included, if FALSE, it is not.

save_output

if TRUE it saves the plot, if false it just runs

Details

This function is a nested function inside of process_pcl. It could be run independently using the summary_matrix.csv output files created from running procesS_pcl as well.

Value

plant area volume density plots

See Also

plot_hit_grid

Examples

# Calculates metrics of canopy structural complexity.
plot_pavd(pcl_vai, filename = "pcl_test", hist = FALSE, save_output = FALSE)
plot_pavd(pcl_vai, filename = "pcl_test", hist = TRUE, save_output = FALSE)


atkinsjeff/forestr documentation built on Dec. 12, 2023, 5:36 a.m.