plot_pavd function

Graphs Plant Area Volume Density Profiles

Graphs Plant Area Volume Density Profiles

plot_pavd produces a PAVD plot from matrix data

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

Returns

plant area volume density plots

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.

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)

See Also

plot_hit_grid