std_tree_metrics | R Documentation |
This function computes summary statistics from a data.frame containing
tree-level information as returned by tree_extraction
.
std_tree_metrics(x, area_ha = NA)
x |
data.frame containing the following columns for each line (segmented tree):
|
area_ha |
numeric. area of region of interest in ha |
a data.frame with one line containing the following tree metrics:
Tree_meanH
: mean height of detected tree apices (m)
Tree_sdH
: standard deviation of heights of detected tree apices (m)
Tree_giniH
: Gini index of heights of detected tree apices
Tree_density
: density of detected tree apices (/ha)
TreeInf10_density
: density of detected trees apices with h<=10 (/ha)
TreeSup10_density
: density of detected trees apices with h>10 (/ha)
TreeSup20_density
: density of detected trees apices with h>20 (/ha)
TreeSup30_density
: density of detected trees apices with h>30 (/ha)
Tree_meanCrownSurface
: mean crown surface of detected trees
Tree_meanCrownVolume
: mean volume of detected trees
TreeCanopy_meanH
: mean height of union of crowns of detected trees
tree_extraction
, clouds_tree_metrics
, raster_metrics
# sample 50 height values
h <- runif(50, 5, 40)
# simulate tree data.frame
trees <- data.frame(h = h, s = h, sp = h * 0.95, v = h * h * 0.6, vp = h * h * 0.55)
std_tree_metrics(trees, area_ha = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.