FunctionalModel.linear.from.two.points: Compute the parameter values of a Linear Function from two...

Description Usage Arguments Value

View source: R/linear.R

Description

This function returns the two parameters of a linear model from two point coordinates.

Usage

1

Arguments

x1

the first x-coordinate

y1

the first y-coordinate

x2

the second x-coordinate

y2

the second y-coordinate

Value

a vector of type (m,n), such than f(x)=n+m*x or NULL if no finite result is possible


thomasWeise/regressoR.functional.models documentation built on July 23, 2018, 4:33 p.m.