getNlsR2 | R Documentation |
Returns R^2 and adjusted R^2 for nonlinear least squares (nls) models.
Adapted from the cuasi-R^2 calculation from 'easynls' by Emmanuel Arnhold: https://rdrr.io/cran/easynls/
getNlsR2(nls)
nls |
An object of class 'nls' |
R^2 value and adjusted R^2 value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.