makePop {ssExtra}R Documentation

Create a Northern Hardwoods Tract and Tree Population for Simulation

Description

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.

Usage

makePop(extents = c(x = 150, y = 150),
        cellSize = 1,
        bufferWidth = 14,
        units = "metric",
        description = "Tract and northern hardwoods population",
        ...)

Arguments

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 drawTreePop.

Details

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.

Value

A list (invisibly) with...

btr

The “bufferedTract” object.

strees

The standingTrees object.

trees

The corresponding data frame for the tree population.

Author(s)

Jeffrey H. Gove

Examples

#
# 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) 

[Package ssExtra version 0.1-2 Index]