Description Usage Arguments Details Value
This function gets a testSet from a larger codeSet
given certain sampling parameters.
1 | getTestSet(set, testSetLength, testSetBaserateInflation = 0)
|
set |
The |
testSetLength |
The length of the testSet to be taken |
testSetBaserateInflation |
The minimum guaranteed |
A testSet is a codeSet
that is a subset of a larger codeSet
with a given set of properties. A testSet is constructed by sampling (without replacement) P rows from rows in the larger codeSet
where the first rater's code was 1, and then appending an additional sample (without replacement) of R rows taken at random from the larger codeSet
excluding rows included in the first P rows sampled. P is computed as the minbaserate * length of the testset. R is computed as testSetLength - P. The result of this sampling procedure is to create a sample with a minimum baserate regardless of the baserate of the larger codeSet
.If testSetBaserateInflation is set to zero, the function selects rows at random.
A codeSet
with the properties specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.