R/resVar.R

resVar <- function(object)
{
	rss <- sum(residuals(object)^2)
    	n <- length(residuals(object))
    	p <- length(coef(object))
    	rss/(n - p)
} 

Try the qpcR package in your browser

Any scripts or data that you put into this service are public.

qpcR documentation built on May 2, 2019, 5:17 a.m.