dich | R Documentation |
splits a variable into two groups
dich(variables,data=NULL,cut=NULL,group1=NULL,group2=NULL)
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 |
a data.frame containing the variables, recoded into two groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.