Description Usage Arguments Value See Also Examples
View source: R/functions_description.r
Different forms of contribution summaries for soc.ca objects. Results
are presented according to the specified mode
1 2 3 4 5 6 7 8 |
object |
a soc.ca object |
dim |
the included dimensions |
all |
If TRUE returns all modalities instead of just those that contribute above average |
indices |
If TRUE; returns a vector with the row indices of the modalities or individuals |
mode |
indicates which form of output. Possible values: |
matrix.output |
if TRUE; returns output as a matrix instead of as printed output. |
Each mode prints different results:
"mod" |
Ranks all modalities according to their contribution |
"sort" |
Ranks all modalities according to their contribution and then sorts them according to their coordinates |
"ind" |
Ranks all individuals according to their contribution |
"variable" |
Sorts all modalities according to their variable and sums the contributions per variable |
The values reported:
Ctr |
Contribution values in percentage. Contribution values for individuals are reported in permille |
Coord |
Principal coordinates |
Cor |
The correlation with the dimension |
map.ctr
1 2 3 4 5 6 | example(soc.ca)
contribution(result)
contribution(result, 2)
contribution(result, dim = 3, all = TRUE)
contribution(result, indices = TRUE)
contribution(result, 1:2, mode = "variable")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.