View source: R/get_boundary_radius.R

get_boundary_radius | R Documentation |

The boundary radius is the maximum distance a tree with a given diameter at breast height may be away from the center of the plot to still be part of the sample.

```
get_boundary_radius(
dbh,
unit = c("mm", "cm", "dm", "m"),
counting_factor = 4,
area = 10000,
is_ti_round = TRUE
)
```

`dbh` |
Diameter at breast height in millimeter. |

`unit` |
The unit for the return value. |

`counting_factor` |
The basal area factor used in counting the trees. For tally trees in the German national forest inventory its value is 4 [m^2]. |

`area` |
The reference surface in [m^2]. |

`is_ti_round` |
When checking for the boundary circle of a tree to include the center of the plot: round that circle's radius to the unit (i.e. [cm]) as done by Thuenen Institute? |

`counting_factor`

and `area`

really don't have to be
square meters as long as they are in the same unit.

Minimum diameter at breast height in `units`

.

```
# A diameter at breast height of 50.5 cm
get_boundary_radius(505, unit = "m")
get_boundary_radius(505, unit = "m", is_ti_round = FALSE)
get_boundary_radius(1000, unit = "cm")
get_boundary_radius(973, unit = "cm")
get_boundary_radius(973, unit = "cm", is_ti_round = FALSE)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.