Learn R Programming

processR (version 0.2.7)

compareMC: Compare effects of mean-centering and standardization of model

Description

Compare effects of mean-centering and standardization of model

Usage

compareMC(fit, mode = 1)

Value

if mode is 1, an object of modelSummary2. Otherwise lift of models

Arguments

fit

An object of class 'lm'

mode

integer

Examples

Run this code
fit=lm(govact~negemot*age,data=glbwarm)
compareMC(fit)
compareMC(fit,mode=2)

Run the code above in your browser using DataLab