Learn R Programming

extracat (version 1.6-3)

idat: indicator dataframe

Description

Converts all factor variables in a dataframe to a set of binary variables.

Usage

idat(x, allcat = FALSE)

Arguments

x
dataframe
allcat
leave last category out

Value

  • dataframe

See Also

Burt, imat

Examples

Run this code
idat(housing)

Run the code above in your browser using DataLab