coverage.diag: Draws a diagonal across a plot.

Description Usage Arguments Details

Description

Draws a diagonal across a plot, and determines for every point along the diagonal what fraction of a series of quadrats it is inside.

Usage

1
2
coverage.diag(randomquads, slope = 1, plotdim = c(1000, 500),
  graphit = FALSE)

Arguments

slope

A number that controls the direction of the diagonal drawn accross the plot. To draw the diagonal

  • from lower left to upper right, use 1;

  • from upper left to lower right, use -1;

  • straight across the middle, use 0.

plotdim

The x and y dimensions of the plot.

graphit

Logical; if TRUE adds plot output.

randomquads:

Defines the four corners of the quadrats in xlo, ylo, xhi, yhi.

Details

This is only used in testing how well random quadrat draws include corners and edges of a plot.


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.