getNlsR2: R^2 values for NLS models

View source: R/getNlsR2.R

getNlsR2R Documentation

R^2 values for NLS models

Description

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/

Usage

getNlsR2(nls)

Arguments

nls

An object of class 'nls'

Value

R^2 value and adjusted R^2 value


earlycapistran/consLettersUtils documentation built on Nov. 22, 2022, 1:22 a.m.