FitLine Command

From GeoGebra Manual
Revision as of 17:15, 7 October 2017 by Zbynek (talk | contribs) (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Jump to: navigation, search


FitLine( <List of Points> )
Calculates the y on x regression line of the points.
Example:
FitLine[{(-2, 1), (1, 2), (2, 4), (4, 3), (5, 4)}] yields 0.4x + 2.

CAS Syntax

FitLine( <List of Points> )
Calculates the y on x regression line of the points.
Example:
FitLine[{(-2, 1), (1, 2), (2, 4), (4, 3), (5, 4)}] yields 0.4x + 2.
Note: See also Mode fitline.svg Best Fit Line tool and FitLineX Command.
© 2024 International GeoGebra Institute