vdummy: Transform a factor variable to a matrix of dummy variables

View source: R/utils.R

vdummyR 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


em documentation built on Jan. 11, 2023, 9:07 a.m.