Description Usage Arguments Value Examples
This is an internal function used by the afmContactPoint
and afmDetachPoint
functions.
It computes the slopes of a linear fit to the data in a window of a given radius.
This function should not be used directly unless by experienced users.
1 | windowedFit(X, width)
|
X |
Least squares matrix on the form [1 z Force],
according to input parameters in function |
width |
Width of the window for the local regression (in vector position units) |
OUT
A vector of length nrow(X)-2*width
,
containing with the slopes of the fits.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.