Learn R Programming

DSpat (version 0.1.6)

project2line: Project points onto line

Description

Projects point process contained in strips to the center line of each strip containing points. This is the inverse of the create.points.by.offset function.

Usage

project2line(obs.ppp, lines.psp)

Arguments

obs.ppp
point process contained in strips
lines.psp
line segment process with label field

Value

dataframe of projected locations (x,y) on the lines

See Also

dist2line