Description Usage Arguments Value See Also Examples
View source: R/averageContribution.r
Retrieve the average contribution for each predictor. Is calculated averaging all contribution by level. The average contribution defines general dominance.
1 | 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()
1 2 3 | data(longley)
da.longley<-dominanceAnalysis(lm(Employed~.,longley))
averageContribution(da.longley)
|
Average Contribution by predictor
GNP.deflator GNP Unemployed Armed.Forces Population Year
r2 0.214 0.23 0.07 0.051 0.212 0.219
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.