dbhDom | R Documentation |
DBH dominance - Aguirre et al. 2003
dbhDom(dbh, focal_dbh)
dbh |
vector of dbh (diameter at breast height) measurements of competitor trees |
focal_dbh |
dbh of focal tree |
Gives the proportion of the n nearest neighbours which are smaller than the focal tree.
value of competition index for focal tree
Aguirre, O., Hui, G., von Gadow, K., Jimenez, J. (2003). An analysis of spatial forest structure using neighbourhood-based variables. Forest Ecology and Management. Volume 183. Pages 13.
data(bicuar)
nb <- nearNeighb(bicuar$x, bicuar$y, bicuar$stem_id, k = 4)
lapply(nb, function(x) {
nb <- merge(x, bicuar, by.x = "nb", by.y = "stem_id")
focal_diam <- unique(bicuar[bicuar$stem_id == nb$focal,"diam"])
dbhDom(nb$diam, focal_diam)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.