crosspoint {blmeco}R Documentation

Gives the x and y-coordinates of the cross point of two straight lines

Description

Calculates the x and y-coordinates of the cross point of two srtaight lines based on their intercepts and slopes

Usage

crosspoint(a1, b1, a2, b2)

Arguments

a1

intercept of first line

b1

slope of first line

a2

intercept of second line

b2

slope of second line

Value

a two column matrix with x- and y-coordinates of the cross point(s)

Author(s)

F. Korner

Examples

crosspoint(4, -0.1, 3, 0.1)

[Package blmeco version 1.4 Index]