rr2 (version 1.0.1)

partialR2: Partial R2

Description

Get partial R2 by comparing a model and its reduced model.

Usage

partialR2(mod, mod.r)

Arguments

mod

A linear regression model.

mod.r

A reduced model based on mod.

Value

R2 value between 0 and 1.