Description Usage Arguments Value Examples
View source: R/toBinaryResponseMC.R
Convert multiclass response to all combinations of binary responses
1 | toBinaryResponseMC(chr, as.factor = T)
|
chr |
A character vector or factor |
as.factor |
Option to return a factor instead of character vector |
A data frame of binary responses in relation to each response
1 2 | responses <- c('BRCA1', 'BRCA2', 'none','BRCA1','BRCA1', 'BRCA2', 'none')
toBinaryResponseMC(responses)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.