R/Qsquared.ext.R

Defines functions Qsquared.ext

Documented in Qsquared.ext

Qsquared.ext <-
function(y.pre,y,ytr){
  numerator = sum((y-y.pre)^2)
  denominator= sum((y-mean(ytr))^2)
  Qsquared.ext=1-(numerator/denominator)
  return
  Qsquared.ext
}

Try the MLRMPA package in your browser

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

MLRMPA documentation built on May 29, 2017, 10:17 a.m.