Verified Commit c332124b authored by Cody L Marquart's avatar Cody L Marquart
Browse files

Randomize returned indices

parent 012b7fd4
......@@ -116,7 +116,7 @@ getHandSetIndices2 = function(
codeToUse$testSet = rbind(
codeToUse$testSet,
matrix(
c(c(this.set), rep(NA, handSetLength)),
c(this.set[sample.int(n = handSetLength)], rep(NA, handSetLength)),
ncol = 2, nrow = handSetLength,
byrow = F, dimnames = list(NULL, colnames(codeToUse$testSet))
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment