| taper_diagnostic_plot | R Documentation |
Generates a diagnostic plot showing the fitted taper of a tree using the Kozak model. This is a simple wrapper around 'fit_taper_Kozak()' to extract its plot output.
taper_diagnostic_plot(qsm, dbh)
qsm |
A QSM object (e.g., data frame returned by 'run_treeqsm()') containing cylinder information. |
dbh |
Numeric. Diameter at breast height of the tree, used as input to the taper function. |
The function calls 'fit_taper_Kozak()' with 'plot = FALSE' and returns the plot component. This allows quick visualization of the taper without modifying the underlying QSM.
A 'ggplot' object showing the fitted taper along the tree stem.
path = system.file('extdata', 'tree_0744_qsm.txt', package='tReeTraits')
qsm = load_qsm(path)
taper_diagnostic_plot(qsm, dbh = 0.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.