f5pl {ELISAtools} | R Documentation |
The five-parameter logistic function
Description
read in the paramters and the independent variable value(s), and then return the 5pl function value(s). For the 4pl model, set g to be 1.
Usage
f5pl(pars, x)
Arguments
pars |
numeric the parameters of the 5pl (or 4pl). It has the following content: [a, d, xmid, scal, g]. |
x |
numeric the log-transformed x value(s). |
Details
The function has the following form
f(x)=a+(d-a)/((1+exp((xmid-x)/scal))^g)
Value
the 5pl function value(s).
[Package ELISAtools version 0.1.5 Index]