initTract {ssExtra}R Documentation

Initialize a "bufferedTract"

Description

This routine will set up a ‘skeleton’ "bufferedTract" object for simulation.

Usage

initTract(extents = c(x = 150, y = 150),
          cellSize = 1,
          bufferWidth = 14,
          units = "metric",
          ...)

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

...

Other arguments that might be passed along to the "Tract" or "bufferedTract" constructors.

Details

This is a very simple method whose only purpose is to make it easy to generate an “bufferedTract” object.

Value

An object of class “bufferedTract”.

Note

Note that makePop calls this directly, so the arguments above can be passed through that routine if creating a synthetic northern hardwoods population (through a call to drawTreePop).

Author(s)

Jeffrey H. Gove

See Also

Tract, bufferedTract, makePop, drawTreePop

Examples

#
# the default is metric; create a tract in acres with default
# one foot resolution...
#
## Not run: 
bt.eng = initTract(bufferWidth=20, units='English')

## End(Not run) 

[Package ssExtra version 0.1-2 Index]