Settings for the fitting process
xx
quantity on the x axis (e.g. duration). Must be a vector of numerics
pp
quantity on the y axis (e.g. proportion of long responses). Must be a vector of numerics AND of the same length as xx.
getPred
Function that returns the predicted value.
residFun
Function that returns the residuals.
fnJacob
Function that returns the jacobian of the function to be fitted.
fnStart
Function that returns the starting parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.