Description Usage Arguments Details Value Author(s) See Also Examples
Calculates the log fit of a set of points using lm
.
1 | logFit(x, y)
|
x |
Vector containing x coordinates of the points. |
y |
Vector containing y coordinates of the points. |
This function returns the coefficients that best approximate the set of points according to the equation
y = a1 + a2*log(x)
The function returns the vector c(a1, a2)
.
Vector with fit coefficients.
Paulo José Saiz Jabardo.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.