View source: R/averageContribution.r
averageContribution | R Documentation |
Retrieve the average contribution for each predictor. Is calculated averaging all contribution by level. The average contribution defines general dominance.
averageContribution(da.object, fit.functions = NULL)
da.object |
dominanceAnalysis object |
fit.functions |
name of the fit indices to retrieve. If NULL, all fit indices will be retrieved |
a list. Key corresponds to fit-index and the value is vector, with average contribution for each variable
Other retrieval methods:
contributionByLevel()
,
dominanceBriefing()
,
dominanceMatrix()
,
getFits()
data(longley)
da.longley<-dominanceAnalysis(lm(Employed~.,longley))
averageContribution(da.longley)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.