get_index: Index function

Description Usage Arguments Value

View source: R/functions.R

Description

This function calculates the levels of a variable in contrast to groups provided by levels of another variable

Usage

1
get_index(data = survey, grouping_var, index_var)

Arguments

data

The dataset for which you will be calculating the indexes

grouping_var

The variable for whose levels you will calculate the index

index_var

The variable against which you will be comparing the levels of the grouping variable

Value

A dataframe with the indexes


NahieliV/testGradient_rep documentation built on Dec. 17, 2021, 5:19 a.m.