Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dummyze

From Factor To Dummy Variables


Description

Transform a factor or a factor-like vector of character into a matrix of dichotomous dummy variables

Usage

.dummyze(x)

Arguments

x

factor, character or integer to be dummyzed

Value

a matrix of {-1, 0, 1} of dimension length(x) x G where G is the number of levels (distinct values) of the factor (vector)

Author(s)

Federico Mattiello <federico.mattiello@gmail.com>


SOUP

Stochastic Ordering Using Permutations (and Pairwise Comparisons)

v1.1
GPL (>= 2)
Authors
Federico Mattiello [aut, cre]
Initial release
2015-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.