FactorToIndicators: 'FactorToIndicators'

Description Usage Arguments

View source: R/variable.R

Description

Convert a factor variable to a matrix whose columns are binary variables representing one of the levels from the factor variable.

Usage

1

Arguments

variable

The factor variable to convert.

name

The name of the input variable.


Displayr/flipTransformations documentation built on Oct. 11, 2018, 5:38 a.m.