getRatioTable: Get coding table for dummy variables

View source: R/addCatVars.R

getRatioTableR Documentation

Get coding table for dummy variables

Description

Get coding table for dummy variables

Usage

getRatioTable(count = 3, mode = 1)

Arguments

count

number of unique length of categorical variable

mode

Numeric. One of 1:4. 1= simple indicator coding, 2= sequential coding, 3= Helmert coding, 4= effect coding

Examples

getRatioTable(count=3)
getRatioTable(count=4,mode=3)

processR documentation built on Jan. 23, 2023, 5:44 p.m.