Learn R Programming

qpcR (version 1.2-1)

RSS: Residual sum-of-squares of a fitted model

Description

Calculates the residual sum-of-squares for objects of class nls, lm, glm, drc or any other models from which residuals can be extacted.

Usage

RSS(object)

Arguments

object
a fitted model.

Value

  • The residual sum-of-squares from the fit.

Examples

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

Run the code above in your browser using DataLab