Description Usage Arguments Value See Also Examples
Run the non-linear regression on a data table
1 2 |
dataF |
The data table containing the data to be fitted |
cD |
name (or position) of the column containing the x-axis data. In the case of a temporal bisection task, this corresponds to the name (or position) of the column containing the duration. |
cNbS |
name (or position) of the column containing the number of "short" responses. |
cBy |
name (or position) of the column(s) to group by. If left empty, it will take all other columns. |
type |
string expliciting which of three available fitting functions will be used. "CG" for cumulative Gaussian, "LN" for lognormal and "PL" for pseudologistic. |
control |
a control list for the non linear regression. See |
residFun |
Function that returns the residuals. |
getPred |
Function that returns the predicted value. |
fnJacob |
Function that returns the jacobian of the function to be fitted. |
fnStart |
Function that returns the starting parameters. |
rpsyF |
Return psyF object as a column? |
CNbL |
name (or position) of the column containing the number of "long" responses. |
A data.table with the parameter estimates, their confidence interval, the R square statistic and the Chi square statistic.
1 2 | data("exampleData",package="nlregVL")
result<-nlregVL::fitLSDT(dataF = exampleData,cD = "Duration",cNbS = "Nb1",cNbL = "Nb3",cBy = "Sub")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.