add_ind_col_scale: Add individualism and collectivism aggregated scores

View source: R/add_ind_col_scale.R

add_ind_col_scaleR Documentation

Add individualism and collectivism aggregated scores

Description

The function takes a dataframe with the raw individual and collectivism scales and calculates the aggregated scores row wise.

Usage

add_ind_col_scale(df)

Arguments

df

a dataframe that contains the raw scales

Value

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'.


marton-balazs-kovacs/trolleyMultilabReplication documentation built on Oct. 13, 2023, 3:15 p.m.