Description Usage Arguments Details Value Examples
Useful for when the data are scarce and chisq.test
returns a warning, or when a more specific analysis of the data is required.
1 |
x |
[data.frame/matrix/table] Table to be binned. |
row |
[integer/vector] The rows to not be binned. |
col |
[integer/vector] The columns to not be binned. |
When working with sparse data, the absolute values in a table are sometimes too low to allow for the use of various statistical tests, or the features too numerous for the result of a statistical test to be clearly interpretable. In such cases, a solution may be found in binning, i.e. in combining all the rows or columns into one, with the exception of select few. For example, a 10x10 table may be thus reduced to a 2x2 or a 2x3 one. The values are magnified while the number of features is reduced.
[table] Table with some of its data binned.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.