calcR2Increase: Calculate the Percent change in R^2

View source: R/av_plots.R

calcR2IncreaseR Documentation

Calculate the Percent change in R^2

Description

Stolen directly from Steven Pollack. https://github.com/stevenpollack/stat151a/blob/master/From_Lab/Feb-26-2014.R

Usage

calcR2Increase(baseModel, extendedModel)

Details

@param baseModel a basic regression model @param extendedModel an extended version of that model (i.e. with an additional variable or more)

@return A percent increase of the extended model's efficiency over the base model


McCartneyAC/mccrr documentation built on March 24, 2024, 5:12 p.m.