Description Usage Arguments Value
View source: R/add_growth_zone.R
add_growth_zone
1 2 3 4 5 6 7 8 9 10 | add_growth_zone(
stand_data,
variable = "Vha",
growth_type = "annual",
reduction_rate = 0.1,
zone_color = "purple",
grab_force = 2,
coeff_traj = c(a = 13.532, b = -1.461, a0 = 14.21, b0 = -1.79),
show_point = FALSE
)
|
stand_data |
data.frame from the use of "import_stand_data" function |
variable |
variable on which the growth will be calculated |
growth_type |
should be "annual" or "average", which mean from the start of the stand |
reduction_rate |
numerical value between 0 and 1 to characterize the width of the zone in relation to the maximum. For example, 0.05 corresponds to a zone of 5% around the maximum. |
zone_color |
color of the zone |
grab_force |
force apply to connect point together. Defaults to 2 |
coeff_traj |
Coefficient a, b, a0, and b0 of the mortality trajectory (cf : Ningre et al "Trajectoires d auto-eclaircie du Douglas en France) |
show_point |
if TRUE point used to find isolines are shown |
a ggplot object corresponding to target zone
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.