intercept.psp: Calculate intercept for a spatstat psp object

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

intercept.pspR Documentation

Calculate intercept for a spatstat psp object

Description

Calculates an intercept for each line segment in a psp object

Usage

intercept.psp(x)

Arguments

x

a psp object

Details

The function assumes that each line segment has an infinite domain and follows the line equation $y = slope * x + intercept$.

Value

Returns a numeric vector containing y-intercepts of line segments in the same order than x

Author(s)

Mikko Vihtakari


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