This function takes a list of random x and y coordinates within a plot, builds a box around each point, and subsets a full plot's dataframe to see if there are any seedlings inside.
1 | sampleSubplots(subplotxy, fulldf, subplotsize = 1)
|
subplotxy |
A data.frame of x and y coordinates for sampling subplots |
fulldf |
The full plot dataframe, containing all trees and seedlings within your larger plot space. |
subplotsize |
The size of the subplot in coordinate space, default is 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.