averageContribution: Retrieve average contribution of each predictor in a...

View source: R/averageContribution.r

averageContributionR Documentation

Retrieve average contribution of each predictor in a dominance analysis.

Description

Retrieve the average contribution for each predictor. Is calculated averaging all contribution by level. The average contribution defines general dominance.

Usage

averageContribution(da.object, fit.functions = NULL)

Arguments

da.object

dominanceAnalysis object

fit.functions

name of the fit indices to retrieve. If NULL, all fit indices will be retrieved

Value

a list. Key corresponds to fit-index and the value is vector, with average contribution for each variable

See Also

Other retrieval methods: contributionByLevel(), dominanceBriefing(), dominanceMatrix(), getFits()

Examples

data(longley)
da.longley<-dominanceAnalysis(lm(Employed~.,longley))
averageContribution(da.longley)

clbustos/dominanceAnalysis documentation built on March 8, 2024, 5:22 a.m.