| cdt | R Documentation |
Computes the complete disjunctive table of a set of factors, where each factor (ie categorical variable) is encoded as a set of dummy variables, one for each level (category).
cdt(x)
x |
|
A matrix of dummy variables, with nrow(x) rows and a
number of columns equal to the sum of numbers of levels in all the
variables of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.