coeffOfDetermination

Assuming a linear fit between X and Y, this returns the coefficient of determination of the fit