Determine if a dataset is binned

isBinnedDataset(dataset, maxUniqeRatings = 6)

Arguments

dataset

The dataset

maxUniqeRatings

For each modality-reader combination, the max number of unique ratings in order to be classified as binned, the default value for maxUniqeRatings is 6; if there are more unique ratings the modality-reader combination is classified as not binned.

Value

a logical [I x J] array, TRUE if the corresponding modality-reader combination is binned, i.e., has at most

maxUniqeRatings unique ratings, FALSE otherwise.

Examples


isBinnedDataset(dataset01)
#>      [,1] [,2] [,3] [,4] [,5]
#> [1,] TRUE TRUE TRUE TRUE TRUE
#> [2,] TRUE TRUE TRUE TRUE TRUE