View source: R/areaProportion.R
areaProportion | R Documentation |
The correction index is calculated using proportion of overlapped area to full circular area.
areaProportion(
bearing,
distance,
radius,
baseShape = "circle",
baseRadius = 10,
baseCorners = list(c(-50, 50), c(50, 50), c(50, -50), c(-50, -50))
)
bearing |
numeric, The bearing of a tree from a given point of plot (centre or corner). |
distance |
numeric, The distance of a tree from a given point of plot (centre or corner). |
radius |
numeric, The radius for a focal subject, which define the circular area around a subject tree. |
baseShape |
character, The shape of the area to be overlapped. Must be either
|
baseRadius |
numeric, The radius for the base area, if the shape is defined as |
baseCorners |
list, If the shape is defined as |
A ratio of overlapped area to full circular area.
Yong Luo
## Not run:
# given a tree is located with bearing of 150 degree and distance of 13 m
# and in a plot of 16.9 m radius circle, in which all the trees are measured.
# assume all the trees within 10m radius have competitive effect on this tree
# hence the trees that are in the plot and within 10m radius from focal tree
# should be corrected based on proportion
# to calculate the proportion
proportion <- areaProportion(bearing = 150,
distance = 13,
radius = 10,
baseShape = "circle",
baseRadius = 16.9)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.