idat: indicator dataframe

Description Usage Arguments Value See Also Examples

View source: R/imatdat.R

Description

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

Usage

1
idat(x, allcat = FALSE, keep = "Freq")

Arguments

x

dataframe

allcat

Whether or not to keep all categories or leave the last one out.

keep

Variables which are kept unchanged such as a frequency variable.

Value

dataframe

See Also

Burt, imat

Examples

1
2
require(MASS)
idat(housing)

extracat documentation built on July 17, 2018, 5:05 p.m.

Related to idat in extracat...