compare_algorithms: compare_algorithms
Description
Compares results of 3 objects obtained from running nls
Usage
compare_algorithms(nls_LM_no_bound, nls_PORT, nlsres_LM)
Value
the best fitting object (lowest Res.Sum Sq provided that all coefficients are nonnegative)
Arguments
- nls_LM_no_bound
first object resulting from running nls
- nls_PORT
second object resulting from running nls
- nlsres_LM
third object resulting from running nls