Learn R Programming

windAC (version 1.2.10)

geometricRectanglePropSearchTable: Create proportion of area searched table for a rectangular full plot

Description

Calculate the areas of intersection of a series of nested annuli with a rectangle.

Usage

geometricRectanglePropSearchTable(
  side1,
  side2 = side1,
  mastRadius,
  annulusWidth = 1,
  ...
)

Value

Data frame of proportion of area searched for each annulus. distanceFromTurbine column represents the outer radius of each annulus.

Arguments

side1

Numeric, length of the side of the rectangle

side2

Numeric, length of the second side of the rectangle, default is side1 which produces a square.

mastRadius

Integer, radius of the turbine mast.

annulusWidth

Integer, width of annulus, default is 1

...

Currently ignored.

Details

Searches are conducted around a turbine within a rectangle for bird and bat carcasses. This function creates a data frame of proportion of area searched within each annulus ring. The turbine is assumed to be centered within the rectangle.

See Also

geometricRoadPadPropSearchTable circleBoxInt

Examples

Run this code

## square 50 x 50
propSearch <- geometricRectanglePropSearchTable(side1 = 50,
                                                mastRadius = 2)


## square 50 x 70
propSearch <- geometricRectanglePropSearchTable(side1 = 50,
                                                side2 = 70,
                                                mastRadius = 2)



Run the code above in your browser using DataLab