View source: R/psp.slope.intercept.R
intercept.psp | R Documentation |
Calculates an intercept for each line segment in a psp object
intercept.psp(x)
x |
a |
The function assumes that each line segment has an infinite domain and follows the line equation $y = slope * x + intercept$.
Returns a numeric vector containing y-intercepts of line segments in the same order than x
Mikko Vihtakari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.