Learn R Programming

Rmixmod (version 2.1.10)

vector2binary: Define function to transform a vector of modalities into matrix of binary data

Description

Define function to transform a vector of modalities into matrix of binary data

Usage

vector2binary(x)

Value

a matrix of binary data.

Arguments

x

a numeric