compare_algorithms {miLAG} | R Documentation |
Compares results of 3 objects obtained from running nls
compare_algorithms(nls_LM_no_bound, nls_PORT, nlsres_LM)
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 |
the best fitting object (lowest Res.Sum Sq provided that all coefficients are nonnegative)