A sample thermal image to demonstrate thermal colour palette...

Returns the slope from linear regression with x values as equally spaced 1:length

1 |

`data` |
Returns the slope from linear regression with x values as equally spaced 1:length |

Returns the slope (i.e. localised tangent) from linear regression with x values as equally spaced 1:length. The usefulness of this function is to reduce a time series type of data collected at equal time intervals.

N=number of data points over which to calculate the slope.

An object of type numeric.

Glenn J. Tattersall

1 2 3 4 5 6 7 8 9 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.