exponential_predict: exponential predictions

View source: R/finding_peaks.R

exponential_predictR Documentation

exponential predictions

Description

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.

Usage

exponential_predict(coef, x)

Arguments

coef

model coefficients

x

the new x-values

Value

numeric


MoseleyBioinformaticsLab/FTMS.peakCharacterization documentation built on April 27, 2022, 3:32 a.m.