Learn R Programming

processR (version 0.2.7)

getRatioTable: 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

Run this code
getRatioTable(count=3)
getRatioTable(count=4,mode=3)

Run the code above in your browser using DataLab