Description Usage Arguments Details Value See Also
Perform comparison of best reference values of parameters and sum of squares in a nonlinear problem with other packages' functions for nonlinear least squares.
1 | run(machid, database, errorlog)
|
machid |
Takes the machine ID generated by |
database |
Takes the dataframe generated by |
errorlog |
Takes the dataframe generated by |
The function first stores problems.csv and methods.csv into dataframes NLSproblems and NLSmethods respectively. It then sources the files, with names from NLSproblems, from the inst/scripts directory. That in turns creates NLSdata, NLSformula, NLSlower, NLSmethods, NLSproblems, NLSsubset, NLSupper, NLSweights, NLSstart, NLSssquares, NLSpars, refsol, NLStag, and NLSref. These along, with algorithm and control from NLSmethods are used inside create_runline
, a helper function. The returned string is then used by the solver from NLSproblems to create nls models. From there, the parameter values and sum of squares are compared with the reference values that are present in "scripts" via problems.csv. Finally, the results are used to modify the argument dataframes database and errorlog and they are returned as a list.
It returns a list of 2 items:
database |
updated database dataframe |
errorlog |
updated error log dataframe |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.