Description Usage Arguments Details Value
Finds the number of points that have to be used for an
optimal fit between the x and y variables.
1 | findbestfit(x, y, minpoints = 3, maxerror = 0.1)
|
x,y |
Regression data |
minpoints |
Minimum data points to be used for the regression. |
maxerror |
The maximum error rate allowed. |
This function finds the earliest point that allows to
have a regression with less than 5
chosen points (this parameter is controlled by the
maxerror variable). If no point allows to have
this error rate, the point that yields the minimum
regression error is used.
A list containing the time point chosen,
initial.time.point, and the actual fitted object,
fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.