Description Usage Arguments Details Value Author(s) See Also Examples
Given a data.frame and an optional variables name, return only the columns that are dummy variables
1 |
data |
A data.frame with an dummies attributes |
name |
Optional. The name of a variable. |
This uses which.dummy
to identify the dummy columns.
The subset of data
that are dummy columns.
Christopher Brown
1 2 3 | data( iris )
d <- dummy.data.frame( iris )
get.dummy( d, 'Species' )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.