powered by
Compute squared semi partial correlations for Multiple Regression
parts(model = NULL, pred = NULL)
Squared semipartial correlations for MRC with up to 10 predictors
name of model
number of predictors
mymodel<-lm(y~x1+x2+x3+x4+x5, data=testreg) parts(model=mymodel, pred=5)
Run the code above in your browser using DataLab