subplot | R Documentation |
'splitPlot' create a index for subplots of any dimension
splitPlot(dx, dy, split.x = 5, split.y = split.x, max.x = 20, max.y = max.x) subplotXY( xcode = LETTERS[1:16], ycode = c(paste(0, 0:9, sep = ""), 10:15), xsub = 20, ysub = 20 ) xyMin(subplot_code, xymin = subplotXY())
dx |
x coordinate inside subplots |
dy |
y coordinate inside subplots |
max.x |
maximum x coordinate |
max.y |
maximum y coordinate |
gx |
x coordinate for the all plot |
gy |
y coordinate for the all plot |
sub.size |
size of the subplots |
plot.code |
subplot codes |
'subplotXY' calculate the x and y coordinates for subplots
'xyMin' calculate x and y coordinates for a vector of suplots
return a new coordinates gx and gy or plot.code with basal area and recalculated dbh for each tree.
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.