Description Arguments Author(s) Examples
This function takes an input matrix (mat), typically from
makeMatrix
, and an array contaning other matrices
(otherMatrices) of the same dimensionality. The function checks if the matrix
is identical to any of the other matrices submitted. This was designed for
running replicate experiments when each replicate should be unique and is
used with the overlapMatrices
,
overlapProbability
, and zeroOrHundred
functions.
mat |
The matrix to be checked. |
otherMatrices |
an array of the other matrices to be checked against. |
ident |
A boolean value. Do not alter. |
Jason Serviss
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | mat <- makeMatrix(x=c(0,1), y=c(0,1), dim=2, points=10, seed=11)
otherMatrices <- array(NA, dim=c(20, 2, 1))
otherMatrices[,,1] <- mat[[1]]
checkIdenticalMatrix(mat, otherMatrices)
otherMatrices <- array(NA, dim=c(20, 2, 1))
otherMatrices[,,1] <- makeMatrix(
x=c(0,1),
y=c(0,1),
dim=2,
points=10,
seed=50
)[[1]]
checkIdenticalMatrix(mat, otherMatrices)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.