Learn R Programming

qpcR (version 1.1-8)

Rsq: R-square value of a fitted model

Description

Calculates the R-square value for objects of class drc, lm, glm, nls or any other models where fitted and residuals can be extacted.

Usage

Rsq(object)

Arguments

object
a fitted model.

Value

  • The R-square value of the fit.

Examples

Run this code
m <- pcrfit(reps, 1, 2, l5())
Rsq(m)

Run the code above in your browser using DataLab