View source: R/add_ind_col_scale.R
add_ind_col_scale | R Documentation |
The function takes a dataframe with the raw individual and collectivism scales and calculates the aggregated scores row wise.
add_ind_col_scale(df)
df |
a dataframe that contains the raw scales |
The function returns the dataframe with the additional aggregated scores added in four new variables row wise: 'hor_ind', 'ver_ind', 'hor_col', 'ver_col'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.