fitSingleSigmoid {NPARC} | R Documentation |
Fit sigmoid model
fitSingleSigmoid(x, y, start = c(Pl = 0, a = 550, b = 10))
x |
numeric vector of the independent variables (typically temperature) |
y |
numeric vector of the dependent variables (typically relative abundance measurements) |
start |
numeric vector of start parameters for the melting curve equation |
Fits the following function to the data: y = (1 - Pl) / (1+exp((b - a/x))) + Pl
model summary of type "nls"
data(stauro_TPP_data_tidy) stk4 <- dplyr::filter(stauro_TPP_data_tidy, grepl("STK4", uniqueID)) fitSingleSigmoid(stk4$temperature, stk4$relAbundance)