Learn R Programming

intensitynet (version 1.3.1)

PointToLine.netTools: Return the distance between an event and the line (not segment) formed by two nodes.

Description

Return the distance between an event and the line (not segment) formed by two nodes.

Usage

# S3 method for netTools
PointToLine(obj)

Value

the distance to the line

Arguments

obj

netTools object -> list(p1:c(coordx, coordy), p2:c(coordx, coordy), e:c(coordx, coordy))