Description Usage Arguments Value Examples
Calculate the index of a variable
1 | index(grouping_variable, index_variable)
|
grouping_variable |
A discrete grouping variable |
index_variable |
A discrete variable for which to calculate index |
A table of index values which are equal to 100 times the frequency of a level of index_variable
within levels of grouping_variable
relative to the aggregate of all its levels.
1 2 3 | with(experiment_data, index(duration, social_proof))
with(survey_data, index(s_gender, s_age))
plot(with(survey_data, index(s_gender, s_age)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.