Description Usage Arguments Value Examples
Calculates chi-square distances between selected rows or columns of the contingency table.
1 2 | chisq_distance(table, indices = seq_len(dim(table)[dimension]),
dimension = 1)
|
table |
object of class "table". |
indices |
integer vector. Which rows or columns should the function calculate distances between.\ Default is all the row or all the columns depending on what is chosen in the argument "dimension". |
dimension |
integer. Whether to use rows (1) or columns (2). Default is 1. |
Matrix of size length(indices) x length(indices) containing chi-square distances between selected rows or columns.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.