fit_nonlinear {proBatch} | R Documentation |
Fit a non-linear trend
fit_nonlinear(dataDF, batch.size, response.var = "y", expl.var = "x", noFitRequants = FALSE, fitFunc = "loess_regression", with_df = FALSE, abs_threshold = 5, pct_threshold = 0.2, ...)
dataDF |
data frame containing response variable e.g. samples in order and explanatory variable e.g. measurement |
batch.size |
the total number of samples in the batch to compute for percentage threshold |
response.var |
the name of the column in dataDF with the response variable |
expl.var |
the name of the column in dataDF with the explanatory variable |
noFitRequants |
(logical) whether to fit requanted values |
fitFunc |
function to use for the fit ( |
with_df |
logical, whether to specify span by enp.target using approximately equivalent number of parameters |
abs_threshold |
the absolute threshold to filter data for curve fitting |
pct_threshold |
the percentage threshold to filter data for curve fitting |
... |
additional paramters to be passed to the fitting function |
vector of fitted response values