vdummy {em}R Documentation

Transform a factor variable to a matrix of dummy variables

Description

Transform a factor variable to a matrix of dummy variables

Usage

vdummy(x)

Arguments

x

a factor vector

Value

a matrix of dummy variables


[Package em version 1.0.0 Index]