Skip to contents

Coefficient of determination (R2)

Usage

R2(object, ...)

Arguments

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.

Value

the coefficient of determination associated with the fitted model.