Description Usage Arguments Examples
binScore
can be used to score scatterplots by directly comparing
the sample counts with a matrix of minimal or maximal percentages/counts
to be found in each cell. It implements the three bands rule implicitly
by setting threshold values.
1 | binScore(aGrid, aReq)
|
aGrid |
A matrix of counts as computed by 'calcFreqs' function |
aReq |
A matrix of minimum or maximum counts to be found in each cell if L-shape is TRUE |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
reqPercentages <- matrix (c(15, 5, 0, 0, 5, 5, 10, 10, 15), nrow=3, byrow=TRUE)
(countsRnd <- matrix(floor(runif(9)*10)+1, nrow=3, ncol=3
(reqRnd <- toReqMat (sum(countsRnd), reqPercentages))
binScore(countsRnd, reqRnd)
(countsTrueL1 <- matrix (c(20, 3, 0, 10, 2, 2, 20, 10, 20), nrow=3, byrow=TRUE))
(reqTrueL <- toReqMat (sum(countsTrueL1), reqPercentages))
binScore(countsTrueL1, reqTrueL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.