subplot | R Documentation |
'splitPlot' create a code for subquadrats of any dimension
splitPlot(dx, dy, splitX = 5, splitY = splitX, maxX = 20, maxY = maxX)
subplotXY(
xcode = LETTERS[1:16],
ycode = c(paste(0, 0:9, sep = ""), 10:15),
xsub = 20,
ysub = 20
)
xyMin(subplot_code, xymin = subplotXY())
splitPlotXY(subplotxy, splitX = 5, splitY = splitX, maxX = 20, maxY = maxX)
splitPlotData(
censoData,
subplotCodes,
splitQuadXY,
buffer = 2,
dbh = "dbh",
gx = "gx",
gy = "gy",
status = "status19"
)
dx |
x coordinate for subplot |
dy |
y coordinate inside subplots |
splitX |
x size of subquadrats |
splitY |
y size of subquadrats, default equal do 'splitX' |
maxX |
maximum potential value for 'dx' |
maxY |
maximum potential value for 'dy' |
gx |
x coordinate for the all plot |
gy |
y coordinate for the all plot |
sub.size |
size of the subplots |
max.x |
maximum x coordinate |
max.y |
maximum y coordinate |
plot.code |
subplot codes |
'subplotXY' calculate the x and y coordinates for subplots
'xyMin' calculate x and y coordinates for a vector of suplots
'subplotIndex' calculate x and y coordinates for a vector of suplots
return a new coordinates gx and gy or plot code in the format '0x0' representing origin for subplot
Alexandre Adalardo de Oliveira aleadalardo@gmail.com
## Not run:
splitPlot(dx = runif(10, 0,20), dy = runif(10, 0, 20), split.x = 5)
xcode <- LETTERS[1:16]
ycode <- c(paste(0, 0:9, sep = ""), 10:15)
xyMin(subplot_code = paste(sample(xcode, size = 25, replace = TRUE), sample(ycode, size = 25, replace = TRUE), sep = ""))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.