add_isolines: add_isolines

Description Usage Arguments Value Examples

View source: R/add_isolines.R

Description

add_isolines

Usage

1
2
3
4
5
6
7
8
9
add_isolines(
  stand_data,
  variable = Hdom,
  iso_values = c(26, 33, 40),
  label_position = "top",
  nudge_label = c(x = 0, y = 0),
  show_point = FALSE,
  ...
)

Arguments

stand_data

data.frame from the use of "import_stand_data" function

variable

one variable from the stand_data (ex : Hdom, Gha, ...)

iso_values

a vector of isoline values (ex : c(10,20,30,40,50))

label_position

choose the position of the label with "top", "bottom", "none"

nudge_label

more accurate positionning of labels by offsetting them in x and y direction (ex : -0.1,0.2)

show_point

if TRUE point used to find isolines are shown

...

other argument passed on to layer (ex : color, linetype, ...)

Value

ggplot object with isolines

Examples

1
## Not run: add_isolines()

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