insideLinearGridCell: Calculate Clipped Feature Lengths in a Set of Grid Cells

Description Usage Arguments Value Author(s)

View source: R/insideLinearGridCell.R

Description

For each grid cell, this function calculates the clipped length of each linestring feature contained in the cell.

Usage

1
insideLinearGridCell(sfobject, rdx.u, xc, yc, dx, dy)

Arguments

sfobject

The sf linestring object.

rdx.u

Vector of cell IDs.

xc

Vector of x-coordinates for the grid cells.

yc

Vector of y-coordinates for the grid cells.

dx

The x-axis grid cell dimension.

dy

The y-axis grid cell dimension.

Value

Data frame containing the following variables: cellID, featureLength, and featureID.

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov


mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.