flg.create: flg.create

Description Usage Arguments Examples

Description

This function takes in a named list and returns a data frame containing the binary transformation of each of the named variables. This allows you to do batch the flag conversion of all factor variables in a data set. Be careful with this function, as it's easy to flood memory by batching more than one column with large numbers of unique entries.

Usage

1
flg.create(df, name.list)

Arguments

df

- A data frame name.list - A list of the columns to be transformed.

Examples

1
head(flg.create(iris, list("Species")))

christiantillich/AnaliTools documentation built on May 13, 2019, 6:59 p.m.