makePop {ssExtra} | R Documentation |
This routine calls initTract
to create a
"bufferedTract"
object. It then creates a tree
population using drawTreePop
within the
“bufferedTract”. Finally, it uses that tree population to
generate a standingTrees
object.
makePop(extents = c(x = 150, y = 150), cellSize = 1, bufferWidth = 14, units = "metric", description = "Tract and northern hardwoods population", ...)
extents |
The x,y extents relative from (0,0) for the tract. Be sure to include the names (x & y as above) in the specification of this vector. |
cellSize |
The cell size in feet or meters. |
bufferWidth |
The buffer width, which should be large enough to include the half-width of the largest inclusion zone for any sampling method tested. |
units |
‘English’ or ‘metric’ (default). |
description |
A character description of the “bufferedTract” object. |
... |
Further arguments passed on to
|
As noted above, this is a simple way to create a “bufferedTract”
object, along with a standingTrees
object that can be used
in sampSurf
simulations.
A list (invisibly) with...
btr |
The “bufferedTract” object. |
strees |
The |
trees |
The corresponding data frame for the tree population. |
Jeffrey H. Gove
# # create a tract with defaults and plot it... # ## Not run: pop = makePop() plot(pop$btr, gridCol='grey90') plot(pop$strees,add=TRUE) ## End(Not run)