Add support for trendlines using linear regression, fx A Tutorial on Linear Regression
Due to PEAR not having a linear regression library such a method will be added to the library.
The solution will be to add another plot (based on the dataset to perform the regression on) that will simply plot a line based on the slope and intersection from the regression.
Added calculateLinearRegression() to Image_Graph_Tool that returns the slope and intersection. Added Image_Graph_Plot_Fit_Line to plot the best line fit.
| Key | Text |
|---|---|
| ID | R004 |
| Link | http://forum.veggerby.dk/comments.php?DiscussionID=511 |
| Component | Image_Graph_Plot_Fit_Line |
| Status | Completed |
| Progress | 100% |
| Responsible | nosey |
| Date added | 2005-Sep-03 |
| Date completed | 2005-Sep-14 |
| Release | 0.7.0 |