add_growth_zone: add_growth_zone

Description Usage Arguments Value

View source: R/add_growth_zone.R

Description

add_growth_zone

Usage

 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
)

Arguments

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

Value

a ggplot object corresponding to target zone


paul-carteron/SimCop documentation built on Dec. 22, 2021, 6:42 a.m.