R/Rsq.R

Defines functions Rsq

Documented in Rsq

Rsq <- function(model) cor(model$y,fitted(model))^2

Try the SMIR package in your browser

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

SMIR documentation built on May 29, 2017, 10:39 a.m.