getReferenceLevels {jmv}R Documentation

Update reference levels for a set of variables

Description

Update reference levels for a set of variables

Usage

getReferenceLevels(data, vars, refLevels)

Arguments

data

The data frame containing the variables

vars

The names of the variables to update

refLevels

A list of reference levels to use for each variable

Value

A list of updated reference levels and a list of variables that had their reference levels changed


[Package jmv version 2.7.0 Index]