pointsAlongLines: Find points that lie along line based on x- or y coordinates

View source: R/psp.slope.intercept.R

pointsAlongLinesR Documentation

Find points that lie along line based on x- or y coordinates

Description

Given a line segment pattern, find a series of points that lie along it based on x or y coordinates

Usage

pointsAlongLines(X = NULL, x = NULL, y = NULL)

Arguments

X

A line segment pattern (object of class "psp").

x, y

Known x or y coordinates given as a numeric vector or a ppp object. One of the parameters has to be NULL.

Value

A point pattern (object of class "ppp") in the same window as X.

Author(s)

Mikko Vihtakari


MikkoVihtakari/sclero documentation built on March 21, 2023, 11:48 a.m.