Slope(KnownYs, KnownXs)
KnownYs. Dependent array of data points.
KnownXs. Independent array of data points.
NOTE. The KnownYs and KnownXs parameters must contain the same number of data points.
The method returns the slope of the linear regression line.
The slope is calculated by dividing the vertical distance by the horizontal distance between any two points of a straight line, that is, the slope is the rate of change for the values along the line.
See also: