size_dist | R Documentation |
Creates tree size class distribution plots for one or more stands.
size_dist(size_data, stands, bin_size = 10)
size_data |
Data frame containing size information of trees. Must
include the columns: |
stands |
Character vector of names of stands for which size class distributions are desired. To maintain plot clarity it is recommended that 10 stands or fewer are specified. |
bin_size |
Integer representing desired width of size classes. Default is 10 dbh units. |
The user-provided data frame size_data
can contain trees from an
unlimited number of stands but it is recommended that no more that 10 stands
be specified in the stands
argument to maintain resolution in the
resulting multi-panel plot. If size_data
contains multiple size
measurements for a single tree, the tree_id
and year
columns
will be used to select the most recent size measurement for plotting.
A single plot containing a panel for each of the specified
stands
.
# Single stand size_dist(size_data = tree, stands = "AB08", bin_size = 5) # Multiple stands size_dist(size_data = tree, stands = c("AM16", "AO03", "AR07"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.