Description Usage Arguments Details Value References Examples
Given a desired number of plots, the arena size, and the plot size, will attempt to place plots down in a non-overlapping fashion
1 | plotPlacer(no.plots, arena.length, plot.length)
|
no.plots |
Number of plots to place |
arena.length |
Length of one side of arena |
plot.length |
Length of one side of desired plot. |
Places plots down in non-overlapping fashion according to parameters supplied. Because this would run indefinitely if unacceptable parameters were supplied, a conservative check is implemented to "ensure" the function does not get stuck. If unacceptable parameters are supplied, will return an arena and a smaller total sampling area will need to be defined.
A matrix with the X & Y coordinates of the four corners of each plot placed
Miller, E. T., D. R. Farine, and C. H. Trisos. 2016. Phylogenetic community structure metrics and null models: a review with new methods and software. Ecography DOI: 10.1111/ecog.02070
1 2 | boundResults <- plotPlacer(no.plots=10, arena.length=300,
plot.length=50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.