Linear regression function

Hi Wardy. Welcome!

What are you trying to do?
This forum is mainly related to 3d design, Rhino is a CAD software and Grasshopper is mainly a programming language to automatize Rhino.
Then, yes, you can do anything once you can program, and we can program also with typed code in c#/python.

Please see this:

If your data is defined by 2 or 3 variables, you can use it like points in space (2D: XY or 3D: XYZ) and then use Rhino or Grasshopper tools to find the best fitting line over those points…

Please add more details and info about your starting data and what you need as final output.

1 Like