exponential_fit: exponential fit

View source: R/finding_peaks.R

exponential_fitR Documentation

exponential fit

Description

Given a set of X's and Y's, calculates the fit for y = a + bx + cx^2 + dx^n ...

Usage

exponential_fit(x, y, w = NULL, n_exp = 1, center = FALSE)

Arguments

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

Value

list


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