Skip to contents

Choose with what column you need to fill the tree points

Usage

martelosim_pixelmap(
  data,
  treedata,
  fill_col,
  fill_scale,
  poly,
  action = FALSE,
  limits = NULL,
  ...
)

Arguments

data

data.frame with columns X_m, Y_m, Cell_Id. Intended for polygons plots

treedata

data.frame with X_m, Y_m, D_cm and Action columns 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

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