dich {Deducer} | R Documentation |
dich
Description
splits a variable into two groups
Usage
dich(variables,data=NULL,cut=NULL,group1=NULL,group2=NULL)
Arguments
variables |
variables to be dichotomized |
data |
A data.frame |
cut |
An optional cut point dividing |
group1 |
An optional vector of levels of |
group2 |
An optional vector of levels of |
Value
a data.frame containing the variables, recoded into two groups.
[Package Deducer version 0.7-9 Index]