Skip to contents

Choose with what column you need to fill the tree points

Usage

martelosim_map(
  data,
  fill_col,
  fill_scale,
  poly,
  label = FALSE,
  action = FALSE,
  limits = NULL,
  ...
)

Arguments

data

data.frame with columns X_m, Y_m, D_cm, Id. Two first are the position of trees, Id a label, D_cm the diameter.

fill_col

column on which to fill. Write as ggplot input in aes()

fill_scale

manual fill scale to be given as values in scale_fill_manual()

poly

polygon of the marteloscope. From inventory

label

TRUE FALSE add labels to trees

action

TRUE FALSE add action shape and color to plot.

limits

NULL by default. Recompute x and y scales

...

scales for action shape and color. color_scale and shape_scale values are set