View source: R/forestry_measures.R
qmd | R Documentation |
This function calculates quadratic mean diameter (qmd), and returns a value in the same units as the inputs
qmd(dbh, na.rm = TRUE)
dbh |
numeric - vector representing measure of diameter at breast height |
na.rm |
boolean - should NAs be ignored. |
library(landecoutils)
print(qmd(c(40.1, NA, 30.3, 29.4, 23.5), na.rm=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.