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

View source: R/mapsvg.R

subquadR Documentation

Map of trees from permanent plot based on cartesian coordinates

Description

Map of trees from permanent plot based on cartesian coordinates

Usage

subquad(dx, dy, size.split = 5, max.size = 20)

Arguments

dx

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

dy

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

size.split

the size of the subquadrat to map in each graphic.

censo

data frame from permanent plot tree censo cartezian 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.

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)
mapsvg(dataplot, save.svg =FALSE)

## End(Not run)


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