auditsvg: Map of trees from permanent plot based on cartesian...

View source: R/mapsvg.R

auditsvgR Documentation

Map of trees from permanent plot based on cartesian coordinates

Description

Map of trees from permanent plot based on cartesian coordinates

Usage

auditsvg(
  audit,
  quad = "A00",
  save.svg = TRUE,
  wd = getwd(),
  dx = "new_dx2018",
  dy = "new_dy2018",
  tag = "num_tag",
  dap = "dap2018",
  error = "errorType",
  mapsize = c(13, 13)
)

Arguments

audit

auditory data frame from permanent plot tree censo data.

quad

a character string or factor representing some subunit of the permanent plot.

save.svg

logical true to save a svg file

wd

character string indicating directory towhere the file will be saved.

dx

between 0 to max.size . Tree mapping X coordinate.

dy

between 0 to max.size . Tree mapping Y coordinate.

Value

'mapsvg' returns tree mapped svg mapped with svg pattern ids.

Author(s)

Alexandre Adalardo de Oliveira aleadalardo@gmail.com

See Also

gridSVG http://labtrop.ib.usp.br

Examples


## Not run: 
dataplot <- data.frame(dx = runif(100, 0,20), dy = runif(100,0,20), quad = rep(paste("quad", 0:1, sep="_"), each=50), dap =rnbinom(100,10,0.5), status="A", tag = 1:100)
auditsvg(dataplot, save.svg =FALSE)

## End(Not run)





adalardo/Rppsp documentation built on Sept. 17, 2022, 3:42 a.m.