partialR2 function

Partial R2

Partial R2

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

partialR2(mod, mod.r)

Arguments

  • mod: A linear regression model.
  • mod.r: A reduced model based on mod.

Returns

R2 value between 0 and 1.

  • Maintainer: Anthony Ives
  • License: GPL-3
  • Last published: 2023-08-21