View source: R/finding_peaks.R
exponential_fit | R Documentation |
Given a set of X's and Y's, calculates the fit for y = a + bx + cx^2 + dx^n ...
exponential_fit(x, y, w = NULL, n_exp = 1, center = FALSE)
x |
the x values, independent |
y |
the y values, dependent |
w |
weights |
n_exp |
how many exponents to use |
center |
whether the X-values should be centered first or not |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.