Description Arguments Author(s) Examples
This function takes an input matrix and checks if, for each group, the frequency of identical data points is greater than what is specified by the identicalPointsThreshold argumet. If the number of identical points are less than the identicalPointsThreshold the function returns TRUE and, otherwise, returns FALSE.
mat |
a matrix from makeMatrix function. |
groups |
a character vector from makeGroups function. |
dim |
Which dimension of the matrix to check. |
identicalPointsThreshold |
Sets the threshold of identical points. |
Jason Serviss
1 2 3 4 5 6 7 | mat <- makeMatrix(x=c(0,1), y=c(0,1), dim=2, points=10, seed=11)
groups <- makeGroups(mat, names=c("grp1", "grp2"))
checkIdenticalPoints(mat, groups, 1, 2)
mat <- list(rbind(mat[[1]], mat[[1]][20,], mat[[1]][20,]))
groups <- makeGroups(mat, c("g1", "g2"))
checkIdenticalPoints(mat, groups, 1, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.