View source: R/finding_peaks.R
exponential_predict | R Documentation |
Given a model coefficients, and X's, calculate the Y values. Note that this function makes a very simple assumption, that the length of the coefficients corresponds to a number of exponential terms in the model, i.e. if the coefficients has 3 terms, then the model was Y = a + bx + cx^2.
exponential_predict(coef, x)
coef |
model coefficients |
x |
the new x-values |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.