catBinner | R Documentation |
'catBinner' converts the cross-tabulation of two categorical variables into bins which work with all of the functionality on bins built into 'AssocBin'.
catBinner(x, y, dropPoints = FALSE)
x |
factor vector for the first categorical variable |
y |
factor vector for the second categorical variable |
dropPoints |
logical; should points be dropped from final bins? |
As both variables are already categorical, 'catBinner' performs no splits and does not merge any categories by default.
A list of lists each with elements 'x', 'y', 'bnds', 'expn', 'n', and 'stopped'.
Chris Salahub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.