R/R2.R
R2.Rd
Coefficient of determination (R2)
R2(object, ...)
object of class lm, usually, a result of a call to lm.
other objects of class lm, usually, a result of a call to lm.
the coefficient of determination associated with the fitted model.