hashMat | R Documentation |
The hashMat()
function assigns hash numbers to the two-column sample
matrices for the purpose of providing identical test results regardless of
the order in which the input data is passed to the distdiffr()
or
grouped_distdiffr()
functions.
hashMat(mat)
mat |
A two column matrix of bivariate observations. |
A numeric hash value
data(iris) sample1 <- as.matrix(iris[iris$Species == "virginica", 1:2]) sample2 <- as.matrix(iris[iris$Species == "versicolor", 1:2]) hashMat(sample1) hashMat(sample2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.