pointDens | R Documentation |
Point density - Spurr (1962)
pointDens(dbh, dist)
dbh |
vector of DBH (diameter at breast height) measurements of competitor trees |
dist |
vector of distances from focal tree to competitor trees |
Calculates point density in units of dist
, with the equation:
\sum_{k=i}^{n} (0.25 (k - 0.5) (D_{k} / L_{k})^2 ) / k
where k
is the rank of the k
th competitor by dbh value, D_{k}
is the dbh of the k
th competitor, and L_{k}
is the distance of the k
th competitor to the focal tree i
.
value of competition index for focal tree
Spurr, S. H. (1962). A measure of point density. Forest Science. Volume 8. Issue 1. Pages 85–96.
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")
pointDens(nb$diam, nb$nb_dist)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.