title: Fitting a line in 3D
body: <p>Are there any algorithms that will return the equation of a straight line from a set of 3D data points? I can find plenty of sources which will give the equation of a line from 2D data sets, but none in 3D.</p>
  
  <p>Thanks.</p>